TICKIT_TERM_SETCTL_INT(3)
π NAME π
okay so bestie, meet tickit_term_setctl_int, tickit_term_setctl_str β they set an integer or string terminal control. yes that's the whole vibe. this is from the Library Functions Manual, page TICKIT_TERM_SETCTL_INT(3) if you're keeping receipts. π
β¨ SYNOPSIS β¨
#include <tickit.h>
bool tickit_term_getctl_int(TickitTerm *tt, TickitTermCtl ctl, int *value);
bool tickit_term_setctl_int(TickitTerm *tt, TickitTermCtl ctl, int value);
bool tickit_term_setctl_str(TickitTerm *tt, TickitTermCtl ctl, const char *value);
and when you link it, you link it like this:
-ltickit
ngl if you forget -ltickit the linker is gonna be so dramatic about it. don't do that to yourself. π
πΈ DESCRIPTION πΈ
tickit_term_setctl_int() does a terminal control operation β it sets the value of a numeric terminal control option. tickit_term_setctl_str() sets the value of a string terminal control option. and tickit_term_getctl_int() is the little gossip, it obtains the value of a terminal control setting.
want the full rundown of every possible TickitTermCtl value and what each one means? that's all living over in tickit_term(7). go look, it's giving reference material. π
π RETURN VALUE π
tickit_term_getctl_int()returns a true value if it recognised the requested control and managed to return the current value of it; false if not.tickit_term_setctl_int()andtickit_term_setctl_str()return a true value if they recognised the requested control and managed to request the terminal to change it; false if not.
so like β true means "yeah bestie, handled it", false means "no idea what you're asking for, or it didn't work out". that's the whole vibe check. β¨
π¦ SEE ALSO π¦
and that's the page, bestie β straight from the Library Functions Manual, filed under TICKIT_TERM_SETCTL_INT(3). go set some controls, you absolute icon. πβ¨π«Ά
π¦ 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