DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

attroff(CURSES)


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(CURSES) and wattroff(CURSES) functions turn off attrs in the current or specified window without affecting any others.

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

The attrset(CURSES) and wattrset(CURSES) 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(CURSES), standend(CURSES), curses(F)
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 - 01 June 2005