timer_delete - Deallocates a previously allocated per-process
timer (P1003.1b)
#include <time.h>
int timer_delete ( timer_t timerid);
Realtime Library (librt.so, librt.a)
The timer ID for the timer which is to be deallocated.
The timer_delete function frees a per-process timer previously
allocated by a call to the timer_create function.
If the timer is armed when the timer_delete function is
called, the timer is disarmed and then removed. No signal
is sent if the timer is deallocated with the timer_delete
function.
On a successful call, a value of 0 (zero) is returned.
On an unsuccessful call, a value of -1 is returned and
errno is set to indicate that an error occurred.
The timer_delete function fails under the following condition:
The timer ID specified by timerid is not a valid
timer ID.
Functions: timer_create(3)
Guide to Realtime Programming
timer_delete(3)
[ Back ] |