---
name: "tickit_watch_cancel"
section: "3"
platform: "linux"
package: "libtickit-dev"
version: "0.4.3-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/tickit_watch_cancel"
---

# tickit\_watch\_cancel(3)

remove a previously-installed callback

## 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

**tickit\_watch\_cancel**() removes a callback previously registered, by the identifier pointer returned when it was added. If it had been added with the **TICKIT\_BIND\_UNBIND** flag then it will be invoked with the **TICKIT\_EV\_UNBIND** as it is removed.

## RETURN VALUE

**tickit\_watch\_cancel**() returns no value.

## SEE ALSO

[**tickit\_new\_stdio**(3)](/tickit_new_stdio/3.md), [**tickit\_watch\_timer\_after\_msec**(3)](/tickit_watch_timer_after_msec/3.md), [**tickit\_watch\_timer\_at\_epoch**(3)](/tickit_watch_timer_at_epoch/3.md), [**tickit\_watch\_later**(3)](/tickit_watch_later/3.md), [**tickit\_watch\_signal**(3)](/tickit_watch_signal/3.md), [**tickit\_watch\_process**(3)](/tickit_watch_process/3.md), [**tickit**(7)](/tickit/7.md)
