attroff(3curses)


attroff -- restricted window attribute control functions

Synopsis

cc [options] file -lcurses
#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(3curses) and wattroff(3curses) functions turn off attrs in the current or specified window without affecting any others.

The attron(3curses) and wattron(3curses) functions turn on attrs in the current or specified window without affecting any others.

The attrset(3curses) and wattrset(3curses) functions set the background attributes of the current or specified window to attrs.

Return value

These functions always return either OK or 1.

Errors

No errors are defined.

Standards Conformance

The Single UNIX Specification, Version 2; The Open Group.

References

attr_get(3curses), standend(3curses), curses(4)
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004