attroff, attron, attrset, wattroff, wattron, wattrset - restricted window attribute control functions
#include <curses.h> int attroff(int attrs); int attron(int attrs); int attrset(int attrs); int wattroff(WINDOW *win, int attrs); int wattron(WINDOW *win, int attrs); int wattrset(WINDOW *win, int attrs);
These functions manipulate the window attributes of the current or specified window.The attroff() and wattroff() functions turn off attrs in the current or specified window without affecting any others.
The attron() and wattron() functions turn on attrs in the current or specified window without affecting any others.
The attrset() and wattrset() functions set the background attributes of the current or specified window to attrs.
It is unspecified whether these functions can be used to manipulate attributes other than A_BLINK, A_BOLD, A_DIM, A_REVERSE, A_STANDOUT and A_UNDERLINE.
These functions always return either OK or 1.
No errors are defined.
attr_get(), standend(), <curses.h>.