HP 3000 Manuals

use_env [ MPE/iX Developer's Kit Reference Manual Volume II ] MPE/iX 5.0 Documentation


MPE/iX Developer's Kit Reference Manual Volume II

use_env 

The use_env routine is used to set values of lines and columns.

Syntax 

     #include <curses.h>

     int use_env(char bool);

Parameters 

bool                  A Boolean expression.

Return Values 

OK                    Successful completion.

ERR                   An error occurred.

Description 

The use_env() routine takes the values for lines and columns from the
terminfo database (if bool is FALSE), or from environmental variables (if
bool is TRUE). If no environmental variables have been set, the window
size is used.  This routine must be set before initscr(), newterm(), or
setupterm() is called.  The default action is TRUE.

Implementation Considerations 

UNIX System V implementation

See Also 

initscr(), newterm(), setupterm()

Portability 

UNIX System V



MPE/iX 5.0 Documentation