svcadm(1M)을 검색하려면 섹션에서 1M 을 선택하고, 맨 페이지 이름에 svcadm을 입력하고 검색을 누른다.
curs_insch(3x)
curs_insch(3x)curs_insch(3x)
NAME
insch, winsch, mvinsch, mvwinsch - insert a character before cursor in
a curses window
SYNOPSIS
#include <ncursesw/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);
DESCRIPTION
These 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 VALUE
All 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 descrip‐
tions.
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.
ATTRIBUTES
See attributes(7) for descriptions of the following attributes:
box; cbp-1 | cbp-1 l | l . ATTRIBUTE TYPE ATTRIBUTE VALUE = Availabil‐
ity library/ncurses = Stability Uncommitted
NOTES
These routines do not necessarily imply use of a hardware insert char‐
acter feature.
Note that insch, mvinsch, and mvwinsch may be macros.
Source code for open source software components in Oracle Solaris can
be found at https://www.oracle.com/downloads/opensource/solaris-source-
code-downloads.html.
This software was built from source available at
https://github.com/oracle/solaris-userland. The original community
source was downloaded from https://invisible-mirror.net/ar‐
chives/ncurses/ncurses-6.3.tar.gz.
Further information about this software can be found on the open source
community website at https://invisible-island.net/ncurses/.
PORTABILITY
These functions are described in the XSI Curses standard, Issue 4.
SEE ALSO
curses(3X).
Comparable functions in the wide-character (ncursesw) library are
described in curs_ins_wch(3X).
curs_insch(3x)