use_env(3curses)
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(3curses)
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(3curses)
must precede calls to
initscr(3curses),
newterm(3curses)
or
setupterm(3curses).
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(3curses),
initscr(3curses),
curses(4)
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004