Deactivate the video display attribute attr within the window.
The clrattr function acts on the stdscr window.
Format
#include <curses.h>
int clrattr (int attr);
int wclrattr (WINDOW *win, int attr);
1 – Arguments
win
A pointer to the window.
attr
Video display attributes that can be blinking, boldface, reverse
video, and underlining; they are represented by the defined
constants _BLINK, _BOLD, _REVERSE, and _UNDERLINE. To clear
multiple attributes, separate them with a bitwise OR operator
(|) as follows:
clrattr(_BLINK | _UNDERLINE);
2 – Description
These functions are specific to VSI C for OpenVMS Systems and
are not portable.
3 – Return Values
OK Indicates success.
ERR Indicates an error.