MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


X/Open Curses Library Functions               termattrs(3XCURSES)



NAME
     termattrs, termattrs - get supported terminal video  attri-
     butes

SYNOPSIS
     cc [ flag... ] file... -I /usr/xpg4/include  -L  /usr/xpg4/lib \
      -R  /usr/xpg4/lib  -lcurses  [ library... ]

     c89 [ flag... ] file... -lcurses [ library... ]

     #include 

     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
     attributes  of the current terminal which is supported for a
     cchart.

RETURN VALUES
     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.

ERORS
     No errors are defined.

ATRIBUTES
     See attributes(5) for descriptions of the  following  attri-
     butes:













SunOS 5.11           Last change: 5 Jun 2002                    1






X/Open Curses Library Functions               termattrs(3XCURSES)



     
           ATRIBUTE TYPE               ATRIBUTE VALUE       
    
     Interface Stability          Standard                    
    
     MT-Level                     Unsafe                      
    


SEE ALSO
     attrget(3XCURSES), attroff(3XCURSES),  libcurses(3XCURSES),
     attributes(5), standards(5)











































SunOS 5.11           Last change: 5 Jun 2002                    2



OpenSolaris man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™