Sun Microsystems, Inc.
spacerspacer
spacer   www.sun.com docs.sun.com | | |  
spacer
black dot
   
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z
    
 
X/Open Curses Library Functionstermattrs(3XCURSES)


NAME

 termattrs, term_attrs - get supported terminal video attributes

SYNOPSIS

 
#include <curses.h>
chtype termattrs(void);
 attr_t term_attrs(void);

DESCRIPTION

 

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

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

RETURN VALUES

 

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

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

ERRORS

 

No errors are defined.

SEE ALSO

 

attr_get(3XCURSES), attroff(3XCURSES)


SunOS 5.9Go To TopLast Changed 6 May 1999

 
      
      
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.