Manual Pages for UNIX Darwin command on man insdelln
MyWebUniversity

Manual Pages for UNIX Darwin command on man insdelln

cursdeleteln(3X) cursdeleteln(3X)

NAME

ddeelleetteellnn, wwddeelleetteellnn, iinnssddeellllnn, wwiinnssddeellllnn, iinnsseerrttllnn, wwiinnsseerrttllnn - delete

and insert lines in a ccuurrsseess window

SYNOPSIS

##iinncclluuddee <>

iinntt ddeelleetteellnn((vvooiidd));; iinntt wwddeelleetteellnn((WWIINNDDOOWW **wwiinn));; iinntt iinnssddeellllnn((iinntt nn));; iinntt wwiinnssddeellllnn((WWIINNDDOOWW **wwiinn,, iinntt nn));; iinntt iinnsseerrttllnn((vvooiidd));; iinntt wwiinnsseerrttllnn((WWIINNDDOOWW **wwiinn));;

DESCRIPTION

The ddeelleetteellnn and wwddeelleetteellnn 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 iinnssddeellllnn and wwiinnssddeellllnn 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 iinnsseerrttllnn and wwiinnsseerrttllnn routines insert a blank line above the cur-

rent line and the bottom line is lost. RREETTUURRNN VVAALLUUEE

All routines return the integer EERRRR upon failure and an OOKK (SVr4 speci-

fies only "an integer value other than EERRRR") upon successful comple-

tion. X/Open defines no error conditions. In this implementation, if the window parameter is null, an error is returned. PPOORRTTAABBIILLIITTYY These functions are described in the XSI Curses standard, Issue 4. The standard specifies that they return EERRRR on failure, but specifies no error conditions. NNOOTTEESS Note that all but wwiinnssddeellllnn may be macros. These routines do not require a hardware line delete or insert feature in the terminal. In fact, they won't use hardware line delete/insert unless iiddllookk((......,, TTRRUUEE)) has been set on the current window.

SEE ALSO

ccuurrsseess(3X) cursdeleteln(3X)




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™