TICKIT_TERM_SET_INPUT_FD(3)
β¨ TICKIT_TERM_SET_INPUT_FD β¨
okay so bestie, we're in the Library Functions Manual π and this is the page for tickit_term_set_input_fd and tickit_term_get_input_fd, the duo that handles terminal input. one of them is lowkey problematic though, and we're gonna talk about it. π«Ά
πΈ NAME πΈ
tickit_term_set_input_fd, tickit_term_get_input_fd β manage terminal input π
π¦ SYNOPSIS π¦
#include <tickit.h>
void tickit_term_set_input_fd(TickitTerm *tt, int fd);
int tickit_term_get_input_fd(TickitTerm *tt);
Link with -ltickit.
π DESCRIPTION π
so. tickit_term_set_input_fd() β and I need you to hear me when I say this β is discouraged and applications should not be using it. like, at all. it's giving deprecated behavior energy, no cap. π
the glow-up move instead? use the open and input_fd fields of the TickitTermBuilder struct that you hand over to tickit_term_build(3). that's the main character path. β¨
tickit_term_get_input_fd() is the chill one β it just hands you back the input file descriptor that's currently associated, or -1 if literally none has been set. that's it. that's the whole vibe check. π
β RETURN VALUE β
tickit_term_get_input_fd() returns a file descriptor, or -1. periodt. π
π SEE ALSO π
okay that's the whole page, you ate it fr fr π§π and just so we're keeping it π― β this whole thing lives under TICKIT_TERM_SET_INPUT_FD(3) in the Library Functions Manual. that's the sign-off, mwah, go read tickit_term_build(3) instead of using the discouraged one bestie ππΈ
π¦ 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