Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
MPE/iX Developer's Kit Reference Manual Volume 2: HP 3000 MPE/iX Computer Systems > Chapter 4 CURSES

clrtoeol wclrtoeol

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

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

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© Hewlett-Packard Development Company, L.P.