1TICKIT_TERM_SET_OUTPUT_BUFFELRi(b3r)ary Functions MaTnIuCaKlIT_TERM_SET_OUTPUT_BUFFER(3)
2
3
4
6 tickit_term_set_output_buffer - define a terminal output buffer
7
9 #include <tickit.h>
10
11 void tickit_term_set_output_buffer(TickitTerm *tt, size_t len);
12
13 Link with -ltickit.
14
16 tickit_term_set_output_buffer() sets up an output buffer of the given
17 size, to store output bytes pending being written to the output file
18 descriptor, or using the output function. The value 0 may be given to
19 indicate that no buffer should be used. This buffer is not directly
20 accessible.
21
22 If a buffer is defined, then none of the drawing functions will immedi‐
23 ately create output either to the file descriptor or the output func‐
24 tion. Instead, they will append into the buffer, to be flushed by call‐
25 ing tickit_term_flush(3). If the buffer fills completely as a result of
26 being written to by a drawing function, it will be flushed to the
27 appropriate output method.
28
30 tickit_term_set_output_buffer() returns no value.
31
33 tickit_term_new(3), tickit_term_set_output_fd(3), tickit_term_set_out‐
34 put_func(3), tickit_term_print(3), tickit_term_flush(3),
35 tickit_term(7), tickit(7)
36
37
38
39 TICKIT_TERM_SET_OUTPUT_BUFFER(3)