TICKIT_TERM_GET_OUTPUT_FD(3)
π NAME π
tickit_term_set_output_fd, tickit_term_get_output_fd β the two functions that handle terminal output, bestie. Setting it and getting it. That's the whole vibe. β¨
πΈ 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 π¦
okay so first things first, tickit_term_set_output_fd() is discouraged and honestly? applications should not be using it. like at all. π instead, go look at the open and output_fd fields of the TickitTermBuilder struct, which you pass along to tickit_term_build(3). that's the way. that's the move. π
tickit_term_get_output_fd() is the chill one β it just hands you back the output file descriptor that's currently associated, or -1 if literally none has been set. no cap. π«Ά
β RETURN VALUE β
tickit_term_get_output_fd() returns a file descriptor, or -1. that's it, that's the whole return. simple, iconic, we love her. π
π SEE ALSO π
and that's a wrap on this one, babe π this lil page lives in the Library Functions Manual, filed under TICKIT_TER...T_OUTPUT_FD(3) β go forth and output responsibly, mwah πβ¨
π¦ where this page comes from
- alpine 3.24: libtickit-doc 0.4.6-r0 Β· MIT
- debian bookworm: libtickit-dev 0.4.3-1 Β· MIT
- debian trixie: libtickit-dev 0.4.3-2 Β· MIT
- fedora 43: libtickit-devel 0.4.5-2.fc43 Β· MIT
- fedora 43: libtickit-devel 0.4.5-2.fc43 Β· MIT
- fedora 44: libtickit-devel 0.4.5-3.fc44 Β· MIT
- fedora 44: libtickit-devel 0.4.5-3.fc44 Β· MIT
- nixos 26.05: libtickit 0.4.5
- nixpkgs unstable: libtickit 0.4.6
- ubuntu jammy: libtickit-dev 0.4.1-1 Β· MIT
- ubuntu noble: libtickit-dev 0.4.3-1.1build1 Β· MIT
- ubuntu questing: libtickit-dev 0.4.3-2
- ubuntu resolute: libtickit-dev 0.4.3-2build1 Β· MIT
- ubuntu stonking: libtickit-dev 0.4.3-2build1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms