4BSD/usr/src/lib/libcurses/standout.c

Compare this file to the similar file:
Show the results in this format:

# include	"curses.ext"

/*
 * enter standout mode
 */
char *
wstandout(win)
reg WINDOW	*win;
{
	if (!SO)
		return FALSE;

	win->_flags |= _STANDOUT;
	return SO;
}

/*
 * exit standout mode
 */
char *
wstandend(win)
reg WINDOW	*win;
{
	if (!SO)
		return FALSE;

	win->_flags &= ~_STANDOUT;
	return SE;
}