use_env(3X) use_env(3X)
NAME
useenv - specify source of screen size information
SYNOPSIS
cc [flag ...] file ... -lcurses [library ...]
#include <curses.h>
void useenv(bool boolval);
DESCRIPTION
The useenv() function specifies the technique by which the implemen-
tation 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
LINES and COLUMNS environment variables. The initial value is TRUE.
Any call to useenv() must precede calls to initscr(), newterm() or
setupterm().
RETURN VALUE
The function does not return a value.
ERRORS
No errors are defined.
SEE ALSO
curses(3X), delcurterm(3X), initscr(3X), curses(5).
Page 1 Reliant UNIX 5.44 Printed 11/98