[Go to CFHT Home Page] Man Pages
Back to Software Index  BORDER=0Manpage Top Level
    timer_delete(3R) manual page Table of Contents

Name

timer_delete - delete a per-LWP timer

Synopsis

cc [ flag ... ] file ... -lposix4 [ library ... ]

#include <time.h>

int timer_delete(timer_t timerid);

MT-Level

MT-Safe with exceptions

Description

timer_delete() deletes the specified timer, timerid, previously created by timer_create(3R) . If the timer is armed when timer_delete() is called, the behavior is as if the timer is automatically disarmed before removal.

Return Values

timer_delete() returns 0 upon success, otherwise it returns -1 and sets errno to indicate the error condition.

Errors

EINVAL
timerid does not refer to a valid timer.
ENOSYS
timer_delete() is not supported by this implementation.

See Also

timer_create(3R)


Table of Contents