Sets and clears window attributes.
#include <curses.h>
int standend (void);
int standout (void);
int wstandend (WINDOW *win);
int wstandout (WINDOW *win);
The standend and standout subroutines turn off all attributes of the current or specified window.
The wstandout and wstandend subroutines turn on the standout attribute of the current or specified window.
*win | Specifies the window in which to set the attributes. |
These subroutines always return 1.
standout();This example is functionally equivalent to:
attron(A_STANDOUT);
WINDOW *my_window; wstandout(my_window);This example is functionally equivalent to:
wattron(my_window, A_STANDOUT);
standend();This example is functionally equivalent to:
attroff(A_STANDOUT);
WINDOW *my_window; wstandend(my_window);This example is functionally equivalent to:
wattroff(my_window, A_STANDOUT);
These subroutines are part of Base Operating System (BOS) Runtime.
The attroff and attr_get subroutines, attron and wattroff subroutines.
Curses Overview for Programming, List of Curses Subroutines, Manipulating Video Attributes in AIX Version 4.3 General Programming Concepts: Writing and Debugging Programs.