timer_delete
- delete a per-process timer (REALTIME)
LIBRARY
Lb librt
SYNOPSIS
#include <time.h> int
timer_delete (timer_t timerid);
DESCRIPTION
The
timer_delete ();
system call
deletes the specified timer,
Fa timerid ,
previously created by the
timer_create2
system call.
If the timer is armed when
timer_delete ();
is called, the behavior is as if the timer is automatically disarmed before
removal.
Pending signals for the deleted timer are cleared.
RETURN VALUES
Rv -std
ERRORS
The
timer_delete ();
system call
will fail if:
Bq Er EINVAL
The timer ID specified by
Fa timerid
is not a valid timer ID.
SEE ALSO
timer_create2
STANDARDS
The
timer_delete ();
system call conforms to
St -p1003.1-2004
HISTORY
Support for
POSIX
per-process timer first appeared in
Fx 7.0 .