inch(3X) inch(3X)
NAME
inch, mvinch, mvwinch, winch - input a single-byte character and ren-
dition from a window
SYNOPSIS
cc [flag ...] file ... -lcurses [library ...]
#include <curses.h>
chtype inch(void);
chtype mvinch(int y, int x);
chtype mvwinch(WINDOW *win, int y, int x);
chtype winch(WINDOW *win);
DESCRIPTION
These functions return the character and rendition, of type chtype, at
the current or specified position in the current or specified window.
RETURN VALUE
Upon successful completion, the functions return the specified charac-
ter and rendition. Otherwise, they return (chtype)ERR.
ERRORS
No errors are defined.
NOTES
These functions are only guaranteed to operate reliably on character
sets in which each character fits into a single byte, whose attributes
can be expressed using only constants with the A prefix.
SEE ALSO
curses(3X), curses(5).
Page 1 Reliant UNIX 5.44 Printed 11/98