deleteln(3curses)


deleteln -- delete lines in a window

Synopsis

cc [options] file -lcurses
#include <curses.h>

int deleteln(void);

int wdeleteln(WINDOW *win);

Description

The deleteln(3curses) and wdeleteln(3curses) 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.

Standards Conformance

The Single UNIX Specification, Version 2; The Open Group.

References

insdelln(3curses), curses(4)
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004