DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

termattrs(CURSES)


termattrs -- get supported terminal video attributes

Synopsis

cc [options] file -lcurses
#include <curses.h>

chtype termattrs(void);

attr_t term_attrs(void);

Description

The termattrs(CURSES) function extracts the video attributes of the current terminal which is supported by the chtype data type.

The term_attrs(CURSES) function extracts information for the video attributes of the current terminal which is supported for a cchar_t

Return value

The termattrs(CURSES) function returns a logical OR of A_ values of all video attributes supported by the terminal.

The term_attrs(CURSES) function returns a logical OR of WA_ values of all video attributes supported by the terminal.

Errors

No errors are defined.

Standards Conformance

The Single UNIX Specification, Version 2; The Open Group.

References

Attributes in attroff(CURSES), attr_get(CURSES), curses(F)
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 - 01 June 2005