curs_insch - Online Linux Manual PageSection : 3X
Updated :

NAMEinsch, winsch, mvinsch, mvwinsch − insert a character before cursor in a curses window

SYNOPSIS#include <curses.h> int insch(chtype ch);
int winsch(WINDOW *win, chtype ch); int mvinsch(int y, int x, chtype ch);
int mvwinsch(WINDOW *win, int y, int x, chtype ch);

DESCRIPTIONThese routines insert the character ch before the character under the cursor. All characters to the right of the cursor are moved one space to the right, with the possibility of the rightmost character on the line being lost. The insertion operation does not change the cursor position.

RETURN VALUEAll routines that return an integer return ERR upon failure and OK (SVr4 specifies only "an integer value other than ERR") upon successful completion, unless otherwise noted in the preceding routine descriptions. Functions with a mv prefix first perform a cursor movement using wmove, and return an error if the position is outside the window, or if the window pointer is null.

NOTESThese routines do not necessarily imply use of a hardware insert character feature. Note that insch, mvinsch, and mvwinsch may be macros.

PORTABILITYThese functions are described in the XSI Curses standard, Issue 4.

SEE ALSOcurses(3X). Comparable functions in the wide-character (ncursesw) library are described in curs_ins_wch(3X).
0
Johanes Gumabo
Data Size   :   7,621 byte
man-mvinsch.3xBuild   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   3 / 189,738
Visitor ID   :     :  
Visitor IP   :   52.14.204.52   :  
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.