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
HP-UX Reference > I

insdelln(3X)

ENHANCED CURSES
HP-UX 11i Version 3: February 2007
» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index

NAME

insdelln, winsdelln — delete or insert lines into a window

SYNOPSIS

#include <curses.h>

int insdelln(int n);

int winsdelln(WINDOW *win, int n);

DESCRIPTION

The insdelln() and winsdelln() functions perform the following actions:

  • If n is positive, these functions insert n lines into the current or specified window before the current line. The n last lines are no longer displayed.

  • If n is negative, these functions delete n lines from the current or specified window starting with the current line, and move the remaining lines toward the cursor. The last n lines are cleared.

The current cursor position remains the same.

RETURN VALUE

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

ERRORS

No errors are defined.

SEE ALSO

deleteln(3X), insertln(3X), <curses.h>.

CHANGE HISTORY

First released in X/Open Curses, Issue 4.

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