termattrs(3X) termattrs(3X)
NAME
termattrs - get supported terminal video attributes
SYNOPSIS
cc [flag ...] file ... -lcurses [library ...]
#include <curses.h>
chtype termattrs(void);
attrt termattrs(void);
DESCRIPTION
The termattrs() function extracts the video attributes of the current
terminal which is supported by the chtype data type.
The termattrs() function extracts information for the video attri-
butes of the current terminal which is supported for a cchart data
type.
RETURN VALUE
The termattrs() function returns a logical OR of A values of all
video attributes supported by the terminal.
The termattrs() function returns a logical OR of WA values of all
video attributes supported by the terminal.
ERRORS
No errors are defined.
SEE ALSO
attroff(3X), attrget(3X), curses(3X), curses(5).
Page 1 Reliant UNIX 5.44 Printed 11/98