TICKIT_TERM_GET_TERMTYPE(3)
π TICKIT_TERM_GET_TERMTYPE π
okay bestie, welcome to tickit_term_get_termtype(3) β it lives in the Library Functions Manual and it's literally the tiniest little slay. it just tells you what kind of terminal you're talking to. that's it. that's the whole vibe. π¦
β¨ NAME β¨
tickit_term_get_termtype β returns the terminal type π
πΈ SYNOPSIS πΈ
#include <tickit.h>
const char *tickit_term_get_termtype(TickitTerm *tt);
Link with -ltickit. π«Ά
π DESCRIPTION π
okay so tickit_term_get_termtype() returns the string name of the type of the terminal. that's the whole job. main character energy, minimal effort. β¨
and which string is it, bestie? it's the string that was set in the TickitTermBuilder struct passed to tickit_term_build(3), or β if nobody set one β the one that got fetched from the TERM environment variable. π
π¨ IMPORTANT, no cap: the returned value points directly into the buffer allocated by theTickitTerminstance itself. so that buffer must not be modified or freed. do not touch it. do not free it. it's not yours, it's theTickitTerm's. hands off. π
π RETURN VALUE π
tickit_term_get_termtype() returns a string buffer pointer. iconic. π
π₯ SEE ALSO π₯
and that's the whole page, periodt. this was TICKIT_TERM_GET_TERMTYPE(3) from the Library Functions Manual β go read the SEE ALSOs if you wanna keep the streak going, 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