tigetflag, tigetnum, tigetstr [ MPE/iX Developer's Kit Reference Manual Volume II ] MPE/iX 5.0 Documentation
MPE/iX Developer's Kit Reference Manual Volume II
tigetflag, tigetnum, tigetstr
The tigetflag, tigetnum, and tigetstr routines are used to return the
value of terminfo capability (interface to terminfo).
Syntax
#include <curses.h>
int tigetflag (char *capname);
int tigetnum (char *capname);
char *tigetstr (char *capname);
Parameters
capname The name of the terminfo capability for which the
value is required.
Return Values
The tigetflag() routine returns -1 if capname is not a Boolean
capability. The tigetnum() routine returns -1 if capname is not a
numeric capability. The tigetstr() routine returns (char *)-1 if
capname is not a string capability.
Description
The tigetflag(), tigetnum(), and tigetstr() routines return values for
terminfo capabilities passed to them.
The following null-terminated arrays contain the capnames, the termcap
codes and full C names for each of the terminfo variables.
char *boolnames, *boolcodes, *boolfnames
char *numnames, *numcodes, *numfnames
char *strnames, *strcodes, *strfnames
Implementation Considerations
UNIX System V implementation
See Also
terminfo
Portability
UNIX System V
MPE/iX 5.0 Documentation