1longname(3XCURSES)      X/Open Curses Library Functions     longname(3XCURSES)
2
3
4

NAME

6       longname - return full terminal type name
7

SYNOPSIS

9       cc [ flag... ] file... -I /usr/xpg4/include  -L  /usr/xpg4/lib \
10        -R  /usr/xpg4/lib  -lcurses  [ library... ]
11
12       c89 [ flag... ] file... -lcurses [ library... ]
13
14       #include <curses.h>
15
16       const char *longname(void);
17
18

DESCRIPTION

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

RETURN VALUES

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

ERRORS

32       None.
33

ATTRIBUTES

35       See attributes(5) for descriptions of the following attributes:
36
37
38
39
40       ┌─────────────────────────────┬─────────────────────────────┐
41       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
42       ├─────────────────────────────┼─────────────────────────────┤
43       │Interface Stability          │Standard                     │
44       ├─────────────────────────────┼─────────────────────────────┤
45       │MT-Level                     │Unsafe                       │
46       └─────────────────────────────┴─────────────────────────────┘
47

SEE ALSO

49       initscr(3XCURSES),        libcurses(3XCURSES),       newterm(3XCURSES),
50       setupterm(3XCURSES), attributes(5), standards(5)
51
52
53
54SunOS 5.11                        5 Jun 2002                longname(3XCURSES)
Impressum