Delete a timer
#include <time.h> int timer_delete( timer_t timerid );
- A timer_t object that holds a timer ID, as set by timer_create() .
Use the -l c option to qcc to link against this library. This library is usually included automatically.
The timer_delete() function removes a previously attached timer based upon the timerid returned from the timer_create() function. The timer is removed from the active system timer list, and returned to the free list of available timers.
- An error occurred (errno is set).
- The timer timerid isn't attached to the calling process.