HPlogo MPE/iX Developer's Kit Reference Manual Volume 2: HP 3000 MPE/iX Computer Systems > Chapter 4 CURSES

insertln winsertln

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

The insertln and winsertln routines are used to insert a line in a window.

Syntax

   #include <curses.h>



   int insertln();

   int winsertln(WINDOW *win);

Parameters

win

A pointer to the window in which to insert the line.

Return Values

OK

Successful completion.

ERR

An error occurred.

Description

The insertln() and winsertln() routines insert a blank line above the current line in stdscr or win, respectively. The new line becomes the current line. All lines below the current line in the window are moved down one line. The bottom line in the window is discarded.

NOTE: These routines are macros.

Implementation Considerations

Identical to XPG/3

See Also

wbkgdset(), wdeleteln(), winsdelln()

Portability

HP-UX, UNIX System V, XPG/3

Feedback to webmaster