MyWebUniversity.com Home Page
 



Darwin Mac OS X man pages main menu
cursaddwchstr(3X)                                        cursaddwchstr(3X)



NAME
       addwchstr,   addwchnstr,   waddwchstr,  waddwchnstr,  mvaddwchstr,
       mvaddwchnstr, mvwaddwchstr, mvwaddwchnstr - add an array of  complex
       characters (and attributes) to a curses window

SYNOPSIS
       ##include <>

       int addwchstr(const cchart **wchstr);;
       int addwchnstr(const cchart **wchstr,, int n);;
       int waddwchstr(WINDOW ** win,, const cchart **wchstr);;
       int waddwchnstr(WINDOW ** win,, const cchart **wchstr,, int n);;
       int mvaddwchstr(int y,, int x,, const cchart **wchstr);;
       int mvaddwchnstr(int y,, int x,, const cchart **wchstr,, int n);;
       int mvwaddwchstr(WINDOW **win,, int y,, int x,, const cchart **wchstr);;
       int mvwaddwchnstr(WINDOW **win,, int y,, int x,, const cchart **wchstr,, int n);;

DESCRIPTION
       These  routines  copy  the  array of complex characters wchstr into the
       window image structure at and after the current cursor  position.   The
       four  routines with n as the last argument copy at most n elements, but
       no more than will fit on the line.  If n=-1 then  the  whole  array  is
       copied,  to the maximum number of characters that will fit on the line.

       The window cursor is not advanced.  These  routines  work  faster  than
       waddnstr.  On the other hand, they do not perform checking (such as for
       the newline, backspace, or carriage return  characters),  they  do  not
       advance  the  current cursor position, they do not expand other control
       characters to ^-escapes, and they truncate the string if it crosses the
       right margin, rather then wrapping it around to the new line.

       These routines end successfully on encountering a null cchart, or when
       they have filled the current line.  If a complex character cannot  com-
       pletely  fit  at the end of the current line, the remaining columns are
       filled with the background character and rendition.

NOTES
       All functions except waddwchnstr may be macros.

RETURN VALUES
       All routines return the integer ER upon failure and OK on success.

PORTABILITY
       All these entry points are described in the XSI Curses standard,  Issue
       4.

SEE ALSO
       curses(3X), cursaddchstr(3X) cursaddwstr(3X)



                                                           cursaddwchstr(3X)
Darwin Mac OS X man pages main menu

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