HPlogo MPE/iX Developer's Kit Reference Manual Volume 2: HP 3000 MPE/iX Computer Systems > Chapter 4 CURSES

use_env

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

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

Feedback to webmaster