HP 3000 Manuals

clrtoeol, wclrtoeol [ MPE/iX Developer's Kit Reference Manual Volume II ] MPE/iX 5.0 Documentation


MPE/iX Developer's Kit Reference Manual Volume II

clrtoeol, wclrtoeol 

The clrtoeol and wclrtoeol routines are used to clear to end of line.

Syntax 

     #include <curses.h>

     int clrtoeol();
     int wclrtoeol(WINDOW *win);

Parameters 

win                   A pointer to the window in which to clear to the
                      end of the line.

Return Values 

OK                    Successful completion.

ERR                   An error occurred.

Description 

The clrtoeol() routine clears the current line from the cursor to the
right margin in the stdscr window.  The wclrtoeol() routine performs the
same action, but in the window specified by win instead of stdscr.  The
current background character (and attributes) is used to clear the
screen.


NOTE The clrtoeol() routine is a macro.
Implementation Considerations Identical to XPG/3 See Also clearok(), wbkgdset(), wclear(), wclrtobot(), werase() Portability HP-UX, UNIX System V, XPG/3


MPE/iX 5.0 Documentation