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 Functionslongname(3XCURSES)


NAME

 longname - return full terminal type name

SYNOPSIS

 
#include <curses.h>
const char *longname(void);

DESCRIPTION

 

The longname() function returns a pointer to a static area containing a verbose description (128 characters or fewer) of the terminal. The area is defined after calls to initscr(3XCURSES), newterm(3XCURSES), or setupterm(3XCURSES). The value should be saved if longname() is going to be used with multiple terminals since it will be overwritten with a new value after each call to newterm() or setupterm().

RETURN VALUES

 

On success, the longname() function returns a pointer to a verbose description of the terminal. Otherwise, it returns a null pointer.

ERRORS

 

None.

SEE ALSO

 

initscr(3XCURSES), newterm(3XCURSES), setupterm(3XCURSES)


SunOS 5.9Go To TopLast Changed 1 Jun 1996

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