Sun Microsystems, Inc.
spacerspacer
spacer   www.sun.com docs.sun.com | | |  
spacer
black dot
   
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z
    
 
X/Open Curses Library Functionsinsertln(3XCURSES)


NAME

 insertln, winsertln - insert a line in a window

SYNOPSIS

 
#include <curses.h>
int insertln(void);
 int winsertln(WINDOW *win);

PARAMETERS

 
win
Is a pointer to the window in which to insert the line.

DESCRIPTION

 

The insertln() and winsertln() functions insert a blank line before the current line in stdscr or win, respectively. The new line becomes the current line. The current line and all lines after it in the window are moved down one line. The bottom line in the window is discarded.

RETURN VALUES

 

On success, these functions return OK. Otherwise, they return ERR.

ERRORS

 

None.

SEE ALSO

 

bkgdset(3XCURSES), deleteln(3XCURSES), insdelln(3XCURSES)


SunOS 5.9Go To TopLast Changed 1 Jun 1996

 
      
      
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.