HP-UX Reference (11i v1 00/12) - 3 Library Functions A-M (vol 6)
__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man3/!!!intro.3c
________________________________________________________________
___ ___
a
attroff(3X) attroff(3X)
(CURSES)
NAME
attroff, attron, attrset, wattroff, wattron, wattrset — restricted window attribute control functions
SYNOPSIS
#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);
DESCRIPTION
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 .
RETURN VALUE
These functions always return either OK or 1.
ERRORS
No errors are defined.
SEE ALSO
attr_get(3X), standend(3X), <curses.h>.
CHANGE HISTORY
First released in X/Open Curses, Issue 2.
X/Open Curses, Issue 4
This entry is rewritten for clarity. The DESCRIPTION is updated to specify that it is undefined whether
these functions can be used to manipulate attributes beyond those defined in X/Open Curses, Issue 3. The
standend(), standout() , wstandend() and wstandout() functions are moved to the stan-
dend()
entry.
Section 3−−32 − 1 − HP-UX Release 11i: December 2000
___
___