Manual Pages for UNIX Darwin command on man ins_nwstr
MyWebUniversity

Manual Pages for UNIX Darwin command on man ins_nwstr

cursinswstr(3X) cursinswstr(3X)

NAME

iinnsswwssttrr, iinnssnnwwssttrr, wwiinnsswwssttrr, wwiinnssnnwwssttrr, mmvviinnsswwssttrr, mmvviinnssnnwwssttrr,

mmvvwwiinnsswwssttrr, mmvvwwiinnssnnwwssttrr - insert a wide-character string into a

curses window

SYNOPSIS

##iinncclluuddee <>

iinntt iinnsswwssttrr((ccoonnsstt wwcchhaarrtt **wstr); iinntt iinnssnnwwssttrr((ccoonnsstt wwcchhaarrtt **wstr,, iinntt n));; iinntt wwiinnsswwssttrr((WWIINNDDOOWW **win,, ccoonnsstt wwcchhaarrtt **wstr));; iinntt wwiinnssnnwwssttrr((WWIINNDDOOWW **win,, ccoonnsstt wwcchhaarrtt **wstr,, iinntt n));; iinntt mmvviinnsswwssttrr((iinntt y,, iinntt x,, ccoonnsstt wwcchhaarrtt **wstr));; iinntt mmvviinnssnnwwssttrr((iinntt y,, iinntt x,, ccoonnsstt wwcchhaarrtt **wstr,, iinntt n));; iinntt mmvvwwiinnsswwssttrr((WWIINNDDOOWW **win,, iinntt y,, iinntt x,, ccoonnsstt wwcchhaarrtt **wstr));; iinntt mmvvwwiinnssnnwwssttrr((WWIINNDDOOWW **win,, iinntt y,, iinntt x,, ccoonnsstt wwcchhaarrtt **wstr,, iinntt n));;

DESCRIPTION

These routines insert a wwcchhaarrtt character string (as many characters as

will fit on the line) before the character under the cursor. All char-

acters to the right of the cursor are shifted right, with the possibil-

ity of the rightmost characters on the line being lost. No wrapping is performed. The cursor position does not change (after moving to y, x, if specified). The four routines with n as the last argument insert a leading substring of at most n wwcchhaarrtt characters. If n is less than 1, the entire string is inserted. If a character in wstr is a tab, newline, carriage return or backspace, the cursor is moved appropriately within the window. A newline also does a ccllrrttooeeooll before moving. Tabs are considered to be at every eighth column. If a character in wstr is another control character, it is drawn in the ^^X notation. Calling wwiinnwwcchh after adding a control character (and moving to it, if necessary) does not return the control

character, but instead returns a character in the ^-representation of

the control character. NNOOTTEESS Note that all but winsnwstr may be macros. If the first character in the string is a nonspacing character, these

functions will fail. XSI does not define what will happen if a non-

spacing character follows a control character.

RETURN VALUES

Upon successful completion, these functions return OK. Otherwise, they return ERR.

SEE ALSO

ccuurrsseess(3X), ccuurrssiinnssssttrr(3X), ccuurrssiinnwwcchh(3X), ccuurrssiinnsswwcchh(3X). cursinswstr(3X)




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™