timer_delete(3c)timer_delete(3c)NAMEtimer_delete - delete a posix timer
SYNOPSIS
#include <signal.h>
#include <time.h>
int timer_delete(timer_t timerid);
DESCRIPTIONtimer_delete deletes the posix timer named by timerid, which was
previously created by a call to timer_create. If the timer was already
started, it is disarmed and no signals related to timerid will be
delivered to the process.
timer_delete will fail if the following is true:
[EINVAL] The timerid does not name a valid posix timer.
SEE ALSOtimer_delete(3C), timer_settime(3C), timer_gettime(3C), sigaction(2)DIAGNOSTICS
Upon successful completion, a value of 0 is returned and the timer
specified by timerid is deleted. Otherwise, a value of -1 is returned
and errno is set to indicate the error.
Page 1