TICKIT_PEN_CLEAR(3)
β¨ TICKIT_PEN_CLEAR(3) β¨
okay bestie so this is a page from the Library Functions Manual and it's all about yeeting attributes off a pen ποΈπ like literally clearing the vibes
π NAME π
tickit_pen_clear, tickit_pen_clear_attr β remove pen attributes
so true, that's the whole thing, we're removing attributes, no cap
πΈ SYNOPSIS πΈ
#include <tickit.h>
void tickit_pen_clear(TickitPen *pen);
void tickit_pen_clear_attr(TickitPen *pen, TickitPenAttr attr);
and bestie, you gotta link with -ltickit or nothing works, fr fr
π¦ DESCRIPTION π¦
so tickit_pen_clear() does the most dramatic thing ever and removes ALL the attributes from the pen instance. every single one. gone. clean slate. main character moment π
then tickit_pen_clear_attr() is the pickier one β it removes just the given attribute from the pen instance, like it's choosing which ex to block. and here's the tea: after you call this function, tickit_pen_has_attr(3) will return false for this attribute. so it's officially not there anymore, periodt β¨
π RETURN VALUE π
these functions return no value. nothing. void. they said "i'm not giving you anything back" and honestly? iconic π
π SEE ALSO π
the whole friend group, go say hi:
tickit_pen_new(3)tickit_pen_has_attr(3)tickit_pen_set_bool_attr(3)tickit_pen_set_int_attr(3)tickit_pen_set_colour_attr(3)tickit_pen(7)tickit(7)
and that's the whole page bestie π«Ά it came from the Library Functions Manual and the footer just says TICKIT_PEN_CLEAR(3) right back at us β no date, no version drama, just the page name doing its little encore π slay, we're done here, go clear some pens πβ¨
π¦ 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