пакет обработки и оптимизации ЭЛТ-экрана (CRT screen handling and optimization package)
Возвращаемое значение (Return value)
Routines that return an integer return ERR
upon failure and an
integer value other than ERR
upon successful completion, unless
otherwise noted in the routine descriptions.
As a general rule, routines check for null pointers passed as
parameters, and handle this as an error.
All macros return the value of the w
version, except setscrreg
,
wsetscrreg
, getyx
, getbegyx
, and getmaxyx
. The return values of
setscrreg
, wsetscrreg
, getyx
, getbegyx
, and getmaxyx
are
undefined (i.e., these should not be used as the right-hand side
of assignment statements).
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. Most 'mv'-prefixed
functions (except variadic functions such as mvprintw
) are
provided both as macros and functions.
Routines that return pointers return NULL
on error.