1TERMKEY_GET_BUFFER_REMAININGL(i3b)rary Functions ManTuEaRlMKEY_GET_BUFFER_REMAINING(3)
2
3
4

NAME

6       termkey_get_buffer_remaining - returns the free buffer space
7

SYNOPSIS

9       #include <termkey.h>
10
11       size_t termkey_get_buffer_remaining(TermKey *tk);
12
13       Link with -ltermkey.
14

DESCRIPTION

16       termkey_get_buffer_remaining()  returns  the  number of bytes of buffer
17       space currently free in the termkey(7) instance. These bytes  are  free
18       to  use  by  termkey_push_bytes(3),  or may be filled by termkey_advis‐
19       ereadable(3).
20

RETURN VALUE

22       termkey_get_buffer_remaining() returns a size in bytes.
23

SEE ALSO

25       termkey_push_bytes(3),   termkey_advisereadable(3),    termkey_set_buf‐
26       fer_size(3), termkey_get_buffer_size(3), termkey_getkey(3), termkey(7)
27
28
29
30                                               TERMKEY_GET_BUFFER_REMAINING(3)
Impressum