tickit_term_set_output_buffer(3)

tickit_term_set_output_buffer3

Define a terminal output buffer

Usage

#include <tickit.h>

void tickit_term_set_output_buffer(TickitTerm *tt, size_t len);

Link with -ltickit.

Overview

tickit_term_set_output_buffer() sets up an output buffer of the given size, to store output bytes pending being written to the output file descriptor, or using the output function. The value 0 may be given to indicate that no buffer should be used. This buffer is not directly accessible.

If a buffer is defined, then none of the drawing functions will immediately create output either to the file descriptor or the output function. Instead, they will append into the buffer, to be flushed by calling tickit_term_flush(3). If the buffer fills completely as a result of being written to by a drawing function, it will be flushed to the appropriate output method.

Return value

tickit_term_set_output_buffer() returns no value.

Releases

4 releases since Debian 10 (Buster); the text changed 1 time.

  1. 10
  2. 11–13

From libtickit-dev 0.4.3-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.