timer_delete —
delete a per-process timer
Standard C Library (libc, -lc)
#include <time.h>
int
  
  timer_delete(timer_t
    timerid);
The timer_delete() functions deletes the timer specified
  in the timerid argument. The
  timerid argument must point to valid timer id, created
  by timer_create(2). If the
  deletion is successful, the timer is disarmed and deleted. Pending
  notification events (signals) may or may not be delivered.
If successful, the timer_delete() functions returns 0.
  Otherwise, it returns -1, and sets errno to indicate
  error.
The timer_delete() function will fail if:
  - [EINVAL]
- The argument timerid is not a valid timer id.
IEEE Std 1003.1b-1993 (“POSIX.1b”),
  IEEE Std 1003.1i-1995 (“POSIX.1i”)