Scroll to navigation

TICKIT_TERM_SET_OUTPUT_FD(3) Library Functions Manual TICKIT_TERM_SET_OUTPUT_FD(3)

NAME

tickit_term_set_output_fd, tickit_term_get_output_fd - manage terminal output

SYNOPSIS

#include <tickit.h>

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

Link with -ltickit.

DESCRIPTION

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.

RETURN VALUE

tickit_term_get_output_fd() returns a file descriptor or -1.

SEE ALSO

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