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);
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);
Description
These functions are specific to DEC C
for OpenVMS Systems and are not portable.
Return Values
OK | Indicates success. |
ERR | Indicates an error. |
Previous Page | Next Page | Table of Contents | Index