|Skip Navigation Links| |Exit Print View| |man pages section 3:
Curses Library Functions Oracle Solaris 11 Express 11/10| - get
a single-byte character from the terminal cc [ flag... ] file...
-I /usr/xpg4/include -L /usr/xpg4/lib \ -R /usr/xpg4/lib
-lcurses [ library... ] c89 [ flag... ] file... -lcurses [
library... ] #include <curses.h> int getch(void); int
wgetch(WINDOW *win); int mvgetch(int y, int x); int
mvwgetch(WINDOW *win, int y, int x); Is a pointer to the window
associated with the terminal from which the character is to be
read. Is the y (row) coordinate for the position of the
character to be read. Is the x (column) coordinate for the
position of the character to be read. These functions read a
single-byte character from the terminal associated with the
current or specified window. The results are unspecified if the
input is not a single-byte character. If keypad(3XCURSES) is
enabled, these functions respond to the pressing of a function
key by returning the corresponding KEY_ value defined in <