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

NAME

6       set_term - switch between terminals
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       SCREEN *set_term(SCREEN *new);
17
18

PARAMETERS

20       new    Is  the  new  terminal  to  which  the  set_term() function will
21              switch.
22
23

DESCRIPTION

25       The set_term() function switches to the terminal specified by  new  and
26       returns  a  screen  reference to the previous terminal. Calls to subse‐
27       quent X/Open Curses functions affect the new terminal.
28

RETURN VALUES

30       On success, the set_term() function returns a pointer to  the  previous
31       screen. Otherwise, it returns a null pointer.
32

ERRORS

34       None.
35

ATTRIBUTES

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

SEE ALSO

51       libcurses(3XCURSES), attributes(5), standards(5)
52
53
54
55SunOS 5.11                        5 Jun 2002                set_term(3XCURSES)
Impressum