HP-UX Reference (11i v1 00/12) - 3 Library Functions N-Z (vol 7)

__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man3/nan.3m
________________________________________________________________
___ ___
u
use_env(3X) use_env(3X)
(ENHANCED CURSES)
NAME
use_env specify source of screen size information
SYNOPSIS
#include <curses.h>
void use_env(bool boolvalue);
DESCRIPTION
The use_env() function specifies the technique by which the implementation determines the size of the
screen. If boolvalue is FALSE, the implementation uses the values of lines and columns specified in the
terminfo database. If boolvalue is TRUE, the implementation uses the LINES and COLUMNS environ-
ment variables. The initial value is TRUE.
Any call to use_env() must precede calls to initscr(), newterm() or setupterm().
RETURN VALUE
The function does not return a value.
ERRORS
No errors are defined.
SEE ALSO
del_curterm(3X), initscr(3X), <curses.h>.
CHANGE HISTORY
First released in X/Open Curses, Issue 4.
Section 3998 1 HP-UX Release 11i: December 2000
___
___