The Single UNIX ® Specification, Version 2
Copyright © 1997 The Open Group


longname - get verbose description of current terminal


#include <curses.h>

char *longname(void);


The longname() function generates a verbose description of the current terminal. The maximum length of a verbose description is 128 bytes. It is defined only after the call to initscr() or newterm().


Upon successful completion, longname() returns a pointer to the description specified above. Otherwise, it returns a null pointer on error.


No errors are defined.


The return value of longname() may point to a static area which is overwritten by a subsequent call to newterm().


initscr(), <curses.h>.

UNIX ® is a registered Trademark of The Open Group.
Copyright © 1997 The Open Group
[ Main Index | XSH | XCU | XBD | XCURSES | XNS ]