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

NAME

6       resetty, savetty - restore/save terminal modes
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       int resetty(void);
17
18
19       int savetty(void);
20
21

DESCRIPTION

23       The  savetty()  and  resetty() functions save and restore the  terminal
24       state, respectively.  The savetty() function saves the current state in
25       a  buffer; the  resetty() function restores the state to that stored in
26       the buffer at the time of the last savetty() call.
27

RETURN VALUES

29       On success, these functions return OK. Otherwise, they return ERR.
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       libcurses(3XCURSES), attributes(5), standards(5)
50
51
52
53SunOS 5.11                        5 Jun 2002                 resetty(3XCURSES)
Impressum