TICKIT_TERM_PRINT(3)
π TICKIT_TERM_PRINT π
okay bestie, gather round, because this is the one where we make words appear on the screen π«Ά this is tickit_term_print(3) from the Library Functions Manual, and honestly? she's giving "simple queen, no drama, just vibes." β¨
πΈ NAME πΈ
tickit_term_print β send text to the terminal π
β¨ SYNOPSIS β¨
#include <tickit.h>
void tickit_term_print(TickitTerm *tt, const char *str);
void tickit_term_printn(TickitTerm *tt, const char *str, size_t len);
void tickit_term_printf(TickitTerm *tt, const char *fmt, ...);
void tickit_term_vprintf(TickitTerm *tt, const char *fmt, va_list args);
and like, don't forget to actually link it, babe: link with -ltickit π
π DESCRIPTION π
tickit_term_print() is the moment where you hand the terminal a string and it prints that text right at the current cursor location. iconic. effortless. the cursor is the main character and you're just writing her lines. π
but listen β that string must be free from any control characters. no sneaky escape codes, no funny business. clean text only, bestie, that's the whole rule. π«
then there's tickit_term_printn() β same energy, but it sends a string of at most len characters. so if you're like "okay but only this much please" β that's her. she respects the limit. π―
tickit_term_printf() is the fancy one π she sends a string of text that gets built by formatting the given arguments, and she does it the exact same way that printf(3) does. so if you already know printf(3), you already know her. no new lore, no cap.
and tickit_term_vprintf()? she's tickit_term_printf()'s twin π same deal, except she takes her arguments in a va_list instead β exactly like vprintf(3) does. that's the entire difference. slay.
π¦ RETURN VALUE π¦
tickit_term_print(), tickit_term_printf() and tickit_term_vprintf() return no value.
literally nothing. zero. void. they show up, they do the thing, they leave. no receipts, no notes, no return statement. that's the confidence we're aspiring to. πβ¨
π₯ SEE ALSO π₯
tickit_term_build(3)tickit_term_goto(3)tickit_term_setpen(3)tickit_term_chpen(3)tickit_term_erasech(3)tickit_term(7)tickit(7)
go read those next, bestie, the lore is DEEP ππ«Ά
okay that's the whole page, and as a little sign-off: this cutie lives in the Library Functions Manual, and her whole entire name is tickit_term_print(3) β write it down, put it on your mirror, whatever, just remember her ππβ¨
π¦ 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