TICKIT_TERM_FLUSH(3)

πŸ’… TICKIT_TERM_FLUSH(3) πŸ’…

okay bestie, so this is a page from the Library Functions Manual β€” yes, the manual, we're being fancy today β€” and it's all about tickit_term_flush, a function from the tickit library. sit down, grab a boba, we're learning ✨


🌸 NAME 🌸

tickit_term_flush β€” flush the terminal output buffer 🚽✨ (no literally, that's what it does)


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <tickit.h>

void tickit_term_flush(TickitTerm *tt);

Link with -ltickit.

bestie the link flag is NOT optional, she's part of the fit πŸ’…

πŸŽ€ DESCRIPTION πŸŽ€

so, tickit_term_flush() does the thing where it takes any data that's just vibing in the output buffer and pushes it out to the terminal. how does it push it? either by calling the output function, or by using write(3) on the output file descriptor. whichever one applies, she handles it πŸ‘‘

and if there's like... no pending data? then this function literally does nothing. no cap. she just sits there, unbothered, unproblematic, doing absolutely zero 😌


πŸ’– RETURN VALUE πŸ’–

tickit_term_flush() returns no value. it's a void girlie. she gives nothing and that's her whole brand 🫢


🌈 SEE ALSO 🌈


and that's the whole page, bestie!! πŸŽ€ this icon came to you from the TICKIT_TERM_FLUSH(3) era of the Library Functions Manual, and she's saying bye for now πŸ’œ go forth and flush your buffers, iykyk πŸ¦‹βœ¨