*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> curs_clear (3)              
Title
Content
Arch
Section
 

curs_clear(3)

Contents


NAME    [Toc]    [Back]

       curs_clear,  clear, wclear, erase, werase, clrtobot, wclrtobot,
 clrtoeol, wclrtoeol - Clear all or part of a Curses
       window

SYNOPSIS    [Toc]    [Back]

       #include <curses.h>

       int clear(
               void ); int wclear(
               WINDOW *win ); int erase(
               void ); int werase(
               WINDOW *win ); int clrtobot(
               void ); int wclrtobot(
               WINDOW *win ); int clrtoeol(
               void ); int wclrtoeol(
               WINDOW *win );

LIBRARY    [Toc]    [Back]

       Curses Library (libcurses)

STANDARDS    [Toc]    [Back]

       Interfaces  documented  on  this reference page conform to
       industry standards as follows:

       clear, wclear, erase, werase,  clrtobot,  wclrtobot,  clrtoeol,
 wclrtoeol:  XCURSES4.2

       Refer to the standards(5) reference page for more information
 about industry standards and associated tags.

DESCRIPTION    [Toc]    [Back]

       The erase and werase routines copy blanks to  every  position
 in the window.

       The  clear  and  wclear  routines are similar to erase and
       werase but also call  clearok.  The  result  is  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.  In addition, these routines
       erase the current line to the right of the cursor, including
 the character on which the cursor is positioned.

       The clrtoeol and wclrtoeol routines erase the current line
       to the right of the cursor,  including  the  character  on
       which the cursor is positioned.

NOTES    [Toc]    [Back]

       The  header  file  <curses.h>  automatically  includes the
       header file <stdio.h>.

       Note that erase, werase, clear, wclear, clrtobot, and clrtoeol
 may be macros.







RETURN VALUES    [Toc]    [Back]

       Upon successful completion, these routines return OK; otherwise,
 they return ERR.

SEE ALSO    [Toc]    [Back]

      
      
       Functions: curses(3), curs_outopts(3), curs_refresh(3)

       Others: standards(5)



                                                    curs_clear(3)
[ Back ]
 Similar pages
Name OS Title
curs_clear IRIX clear all or part of a curses window
clear IRIX clear all or part of a curses window
wscrl OpenBSD scroll a curses window
scrl Tru64 Scroll a Curses window
scrl OpenBSD scroll a curses window
scroll Tru64 Scroll a Curses window
wscrl Tru64 Scroll a Curses window
curs_scroll OpenBSD scroll a curses window
curs_scroll Tru64 Scroll a Curses window
wresize FreeBSD resize a curses window
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service