jvidal@disca.upv.es
J. Vidal 2002-12-12
timer_delete 3 timer_delete delete a per RTLinux process timer. #include <signal.h> int timer_delete timer_t *restrict timerid DESCRIPTION This is the RTLinux version of the POSIX function timer_delete . The timer_delete() function deletes the specified timer, timerid, previously created by the timer_create() function. For further details see UNIX spec sigaction, UNIX spec timer_delete NOTES In RTLinux timer_delete should be called from the Linux thread (init_module, cleanup_module). RETURN VALUE If successful, the timer_delete() function shall return a value of zero. Otherwise, the function shall return a value of -1 and set errno to indicate the error. ERRORS The timer_delete() function fails if: [EINVAL]: The timer ID specified by timerid is not a valid timer ID. [EINVAL]: If timer_delete isn't called from Linux thread. AUTHOR Josep Vidal < jvidal@disca.upv.es> SEE ALSO timer_create