timer_delete(3c) timer_delete(3c)
timer_delete - delete a posix timer
#include <signal.h>
#include <time.h>
timer_delete(timer_t *timerid<b>);
timer_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.
timer_delete(3C), timer_settime(3C), timer_gettime(3C), sigaction(2)
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.
PPPPaaaaggggeeee 1111 [ Back ]
|