use_env(3X)
ENHANCED CURSES
NAME
use_env — specify source of screen size information
SYNOPSIS
#include <curses.h>
void use_env(char 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 and environment 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(), initscr(), <curses.h>.
CHANGE HISTORY
First released in X/Open Curses, Issue 4.
Hewlett-Packard Company — HP-UX Release 10.20: July 1996