подпрограммы библиотеки Curses для управления атрибутами символов и окон (curses character and window attribute control routines)
Возвращаемое значение (Return value)
All routines return the integer OK
on success, or ERR
on failure.
X/Open does not define any error conditions.
This implementation
• returns an error if the window pointer is null.
• returns an error if the color pair parameter for wcolor_set
is outside the range 0..COLOR_PAIRS-1.
• does not return an error if either of the parameters of
wattr_get
used for retrieving attribute or color-pair values
is NULL
.
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.