TICKIT_WATCH_CANCEL(3)
π TICKIT_WATCH_CANCEL(3) π
okay bestie, welcome to the Library Functions Manual page for tickit_watch_cancel(3) β yes that's the manual section name, we're being fancy today β¨
πΈ NAME πΈ
tickit_watch_cancel β remove a previously-installed callback ποΈβ¨
π SYNOPSIS π
#include <tickit.h>
void tickit_watch_cancel(Tickit *t, void *watch);
Link with -ltickit. π
π¦ DESCRIPTION π¦
so basically, tickit_watch_cancel() does the undoing π
β it removes a callback that you previously registered, and you tell it which one by passing the identifier pointer that got returned to you when you added it in the first place. like, remember that pointer? yeah, that one. hold onto it. that's your ticket ποΈ
and here's the lil plot twist: if the callback had been added with the TICKIT_BIND_UNBIND flag, then it will be invoked with the TICKIT_EV_UNBIND as it's being removed. so it gets one last little goodbye moment before it's gone ππ«Ά β iconic behavior honestly.
β RETURN VALUE β
tickit_watch_cancel() returns no value. nothing. nada. void. it's giving mysterious and silent π§
π SEE ALSO π
tickit_new_stdio(3)tickit_watch_timer_after_msec(3)tickit_watch_timer_at_epoch(3)tickit_watch_later(3)tickit_watch_signal(3)tickit_watch_process(3)tickit(7)
okay that's the whole page bestie, mwah π this was the TICKIT_WATCH_CANCEL(3) entry from the Library Functions Manual β go forth and cancel your callbacks responsibly, no cap π₯ππ
π¦ 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 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