MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Curses Library Functions                    cursaddwstr(3CURSES)



NAME
     cursaddwstr,  addwstr,   addnwstr,   waddwstr,   waddnwstr,
     mvaddwstr,  mvaddnwstr,  mvwaddwstr,  mvwaddnwstr  -  add  a
     string of wchart characters to a curses window and  advance
     cursor

SYNOPSIS
     cc  [flag]... file... -lcurses [library]...


     #include

     int addwstr(wchart *wstr);


     int addnwstr(wchart *wstr, int n);


     int waddwstr(WINDOW *win, wchart *wstr);


     int waddnwstr(WINDOW *win, wchart *wstr, int n);


     int mvaddwstr(int y, int x, wchart *wstr);


     int mvaddnwstr(int y, int x, wchart *wstr, int n);


     int mvwaddwstr(WINDOW *win, int y, int x , wchart *wstr);


     int mvwaddnwstr(WINDOW *win, int y, int x, wchart *wstr, int n);


DESCRIPTION
     All of these routines write all the characters of the  null-
     terminated  wchart character string  wstr on the given win-
     dow. The effect is similar to calling waddwch(3CURSES)  once
     for each  wchart character in the string. The four routines
     with n as the last argument write at most n wchart  charac-
     ters.  If  n  is  negative,  then  the entire string will be
     added.

RETURN VALUE
     All routines return the integer  ER  upon  failure  and  an
     integer value other than ER upon successful completion.

ATRIBUTES
     See attributes(5) for descriptions of the  following  attri-
     butes:



SunOS 5.11          Last change: 31 Dec 1996                    1






Curses Library Functions                    cursaddwstr(3CURSES)



     
           ATRIBUTE TYPE               ATRIBUTE VALUE       
    
     MT-Level                     Unsafe                      
    


SEE ALSO
     curses(3CURSES), waddwch(3CURSES), attributes(5)

NOTES
     The  header  file     automatically  includes  the
     header files ,  and .


     Note that all  of  these  routines  except   waddwstr()  and
     waddnwstr() may be macros.






































SunOS 5.11          Last change: 31 Dec 1996                    2



OpenSolaris man pages main menu

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