DOKK / manpages / debian 12 / libtickit-dev / tickit_term_set_output_fd.3.en
TICKIT_TERM_SET_OUTPUT_FD(3) Library Functions Manual TICKIT_TERM_SET_OUTPUT_FD(3)

tickit_term_set_output_fd, tickit_term_get_output_fd - manage terminal output

#include <tickit.h>

void tickit_term_set_output_fd(TickitTerm *tt, int fd);
int tickit_term_get_output_fd(TickitTerm *tt);

Link with -ltickit.

tickit_term_set_output_fd() is discouraged and should not be used by applications. See instead the open and output_fd fields of the TickitTermBuilder struct to tickit_term_build(3).

tickit_term_get_output_fd() returns the currently associated output file descriptor, or -1 if none has been set.

tickit_term_get_output_fd() returns a file descriptor or -1.

tickit_term_build(3), tickit_term_print(3), tickit_term(7), tickit(7)