MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Curses Library Functions                      cursclear(3CURSES)



NAME
     cursclear, erase, werase, clear, wclear, clrtobot,  wclrto-
     bot,  clrtoeol,  wclrtoeol  -  clear all or part of a curses
     window

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

     int erase(void);


     int werase(WINDOW *win);


     int clear(void);


     int wclear(WINDOW *win);


     int clrtobot(void);


     int wclrtobot(WINDOW *win);


     int clrtoeol(void);


     int wclrtoeol(WINDOW *win);


DESCRIPTION
     The erase() and werase() routines copy blanks to every posi-
     tion in the window.


     The clear() and  wclear()  routines  are  like  erase()  and
     werase(),  but they also call clearok() , so that the screen
     is cleared completely on the next  call  to  wrefresh()  for
     that window and repainted from scratch.


     The clrtobot() and  wclrtobot()  routines  erase  all  lines
     below  the  cursor  in the window. Also, the current line to
     the right of the cursor, inclusive, is erased.


     The clrtoeol() and wclrtoeol() routines  erase  the  current
     line to the right of the cursor, inclusive.




SunOS 5.11          Last change: 31 Dec 1996                    1






Curses Library Functions                      cursclear(3CURSES)



RETURN VALUES
     All routines  return  the  integer  OK,  or  a  non-negative
     integer if immedok() is set. See cursoutopts(3CURSES).

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



     
           ATRIBUTE TYPE               ATRIBUTE VALUE       
    
     MT-Level                     Unsafe                      
    


SEE ALSO
     cursoutopts(3CURSES),                cursrefresh(3CURSES),
     curses(3CURSES), attributes(5)

NOTES
     The header   automatically  includes  the  headers
      and .


     Note that erase(), werase(), clear(), wclear(),  clrtobot(),
     and clrtoeol() 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 ™