HPlogo HP-UX Reference Volume 4 of 5 > i

insertln(3X)

CURSES
» 

Technical documentation

Complete book in PDF

 » Table of Contents

 » Index

NAME

insertln, winsertln — insert lines into a window

SYNOPSIS

#include <curses.h>

int insertln(void);

int winsertln(WINDOW *win);

DESCRIPTION

The insertln() and winsertln() functions insert a blank line before the current line in the current or specified window. The bottom line is no longer displayed. The cursor position does not change.

RETURN VALUE

Upon successful completion, these functions return OK. Otherwise, they return ERR.

ERRORS

No errors are defined.

SEE ALSO

insdelln(3X), <curses.h>.

CHANGE HISTORY

First released in X/Open Curses, Issue 2.

X/Open Curses, Issue 4

The entry is rewritten for clarity. The argument list for the insertln() function is explicitly declared as void.

© Hewlett-Packard Development Company, L.P.