curs_deleteln - Online Linux Manual PageSection : 3X
Updated :

NAMEdeleteln, wdeleteln, insdelln, winsdelln, insertln, winsertln − delete and insert lines in a curses window

SYNOPSIS#include <curses.h> int deleteln(void);
int wdeleteln(WINDOW *win); int insdelln(int n);
int winsdelln(WINDOW *win, int n); int insertln(void);
int winsertln(WINDOW *win);

DESCRIPTIONThe deleteln and wdeleteln routines delete the line under the cursor in the window; all lines below the current line are moved up one line. The bottom line of the window is cleared. The cursor position does not change. The insdelln and winsdelln routines, for positive n, insert n lines into the specified window above the current line. The n bottom lines are lost. For negative n, delete n lines (starting with the one under the cursor), and move the remaining lines up. The bottom n lines are cleared. The current cursor position remains the same. The insertln and winsertln routines insert a blank line above the current line and the bottom line is lost.

RETURN VALUEAll routines return the integer ERR upon failure and an OK (SVr4 specifies only "an integer value other than ERR") upon successful completion. X/Open defines no error conditions. In this implementation, if the window parameter is null, an error is returned.

PORTABILITYThese functions are described in the XSI Curses standard, Issue 4. The standard specifies that they return ERR on failure, but specifies no error conditions.

NOTESNote that all but winsdelln may be macros. These routines do not require a hardware line delete or insert feature in the terminal. In fact, they will not use hardware line delete/insert unless idlok(..., TRUE) has been set on the current window.

SEE ALSOcurses(3X)
0
Johanes Gumabo
Data Size   :   8,443 byte
man-deleteln.3xBuild   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   2 / 200,869
Visitor ID   :     :  
Visitor IP   :   13.59.54.188   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.