HPlogo HP-UX Reference Volume 4 of 5 > d

deleteln(3X)

CURSES
» 

Technical documentation

Complete book in PDF

 » Table of Contents

 » Index

NAME

deleteln, wdeleteln — delete lines in a window

SYNOPSIS

#include <curses.h>

int deleteln(void);

int wdeleteln(WINDOW *win);

DESCRIPTION

The deleteln() and wdeleteln() functions delete the line containing the cursor in the current or specified window and move all lines following the current line one line toward the cursor. The last line of the window is cleared. 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 deleteln() function is explicitly declared as void.

© Hewlett-Packard Development Company, L.P.