Sun Microsystems, Inc.
spacerspacer
spacer   www.sun.com docs.sun.com | | |  
spacer
black dot
   
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z
    
 
X/Open Curses Library Functionsuse_env(3XCURSES)


NAME

 use_env - specify source of screen size information

SYNOPSIS

 
#include <curses.h>
void use_env(bool boolval);

PARAMETERS

 
boolval
Is a Boolean expression.

DESCRIPTION

 

The use_env() function specifies the technique by which the implementation 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 environmental variables. The initial value is TRUE.

Any call to use_env() must precede calls to initscr(3XCURSES), newterm(3XCURSES), or setupterm(3XCURSES).

RETURN VALUES

 

The use_env() function does not return a value.

ERRORS

 

No errors are defined.

SEE ALSO

 

del_curterm(3XCURSES), initscr(3XCURSES)


SunOS 5.9Go To TopLast Changed 6 May 1999

 
      
      
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.