The termattrs routine is used to return the video attributes supported by the terminal.
Syntax | 
  | 
   #include <curses.h>
   chtype termattrs();
  | 
Return Values | 
  | 
- OK
 Successful completion.
- ERR
 An error occurred.
Description | 
  | 
The termattrs() routine returns a logical OR of all video attributes available on a terminal.
Implementation Considerations | 
  | 
UNIX System V implementation
Portability | 
  | 
UNIX System V