NAME
curses_underscore
,
underscore
, underend
,
wunderscore
, wunderend
— curses underscore attribute
manipulation routines
LIBRARY
library “libcurses”
SYNOPSIS
#include
<curses.h>
int
underscore
(void);
int
underend
(void);
int
wunderscore
(WINDOW
*);
int
wunderend
(WINDOW
*);
DESCRIPTION
These functions manipulate the underscore attribute onstdscr
or on the specified window.
The
underscore
()
function turns on the underscore attribute on
stdscr
. The
underend
()
function turns off the underscore attribute on
stdscr
.
The
wunderscore
()
and
wunderend
()
functions are equivalent to underscore
() and
underend
(), respectively, excepting that the
attribute is manipulated on the window specified by
win.
The
underscore
()
and
underend
()
functions are equivalent to
wattron
(A_UNDERLINE)
and
wattroff
(A_UNDERLINE),
respectively.
RETURN VALUES
These functions always return 1.
SEE ALSO
STANDARDS
The NetBSD Curses library complies with the X/Open Curses specification, part of the Single Unix Specification.
HISTORY
These functions first appeared in NetBSD 1.5.