Activate the video display attribute attr within the
window. The setattr function acts on the stdscr window.
Format
#include <curses.h>
int setattr (int attr);
int wsetattr (WINDOW *win, int attr);
Arguments
- win
- A pointer to the window.
- attr
- One of a set of video display attributes, which are blinking,
boldface, reverse video, and underlining, and are represented by
the defined constants _BLINK, _BOLD, _REVERSE, and _UNDERLINE,
respectively. You can set multiple attributes by separating them
with a bitwise OR operator (|) as follows:
setattr(_BLINK | _UNDERLINE);
Description
The setattr and wsetattr 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