use_env(CURSES)
use_env --
specify source of screen size information
Synopsis
cc [options] file -lcurses
#include <curses.h>
void use_env(bool boolval);
Description
The
use_env(CURSES)
function specifies the technique by which the
implementation determines the size of the screen. If boolval is FALSE,
the implementation uses the values of lines and columns specified
in the terminfo database. If boolval is TRUE, the implementation uses
the
and
environment variables. The initial value is TRUE.
Any call to
use_env(CURSES)
must precede calls to
initscr(CURSES),
newterm(CURSES)
or
setupterm(CURSES).
Return value
The function does not return a value.
Errors
No errors are defined.
Standards Conformance
The Single UNIX Specification, Version 2; The Open Group.
References
del_curterm(CURSES),
initscr(CURSES),
curses(F)
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 - 01 June 2005