1curs_insch(3X)                                                  curs_insch(3X)
2
3
4

NAME

6       insch,  winsch, mvinsch, mvwinsch - insert a character before cursor in
7       a curses window
8

SYNOPSIS

10       #include <curses.h>
11
12       int insch(chtype ch);
13       int winsch(WINDOW *win, chtype ch);
14       int mvinsch(int y, int x, chtype ch);
15       int mvwinsch(WINDOW *win, int y, int x, chtype ch);
16

DESCRIPTION

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

RETURN VALUE

25       All routines that return an integer return  ERR  upon  failure  and  OK
26       (SVr4 specifies only "an integer value other than ERR") upon successful
27       completion, unless otherwise noted in the  preceding  routine  descrip‐
28       tions.
29

NOTES

31       These  routines do not necessarily imply use of a hardware insert char‐
32       acter feature.
33
34       Note that insch, mvinsch, and mvwinsch may be macros.
35

PORTABILITY

37       These functions are described in the XSI Curses standard, Issue 4.
38

SEE ALSO

40       curses(3X).
41
42       Comparable functions  in  the  wide-character  (ncursesw)  library  are
43       described in curs_ins_wch(3X).
44
45
46
47                                                                curs_insch(3X)
Impressum