1TERMKEY_START(3) Library Functions Manual TERMKEY_START(3)
2
3
4
6 termkey_start, termkey_stop, termkey_is_started - enable or disable
7 terminal operations
8
10 #include <termkey.h>
11
12 int termkey_start(TermKey *tk);
13 int termkey_stop(TermKey *tk);
14
15 int termkey_is_started(TermKey *tk);
16
17 Link with -ltermkey.
18
20 termkey_start() enables the terminal IO operations of the given
21 termkey(7) instance, including sending a terminal control sequence and
22 setting the termios(3) modes required.
23
24 termkey_stop() disables terminal IO operations, by reversing the steps
25 taken by termkey_start(). A newly-constructed termkey instance will
26 have terminal IO enabled already.
27
28 termkey_is_started() enquires whether terminal IO is currently enabled.
29
31 If successful, termkey_start() and termkey_stop() return a true value.
32 On failure, zero is returned with errno set to indicate the failure.
33 termkey_is_started() returns true or false to indicate whether terminal
34 IO is currently enabled.
35
37 termkey_new(3), termkey(7)
38
39
40
41 TERMKEY_START(3)