timer_delete(3c)

timer_delete - delete a posix timer

As shipped in IRIX 6.5.19. Last changed in IRIX 6.5.19.

NAME
     timer_delete - delete a posix timer

SYNOPSIS
     #include <signal.h>
     #include <time.h>

     int timer_delete(timer_t timerid);

DESCRIPTION
     timer_delete deletes the posix timer named by timerid, which was
     previously created by a call to timer_create.  If the timer was already
     started, it is disarmed and no signals related to timerid will be
     delivered to the process.

     timer_delete will fail if the following is true:

     [EINVAL]       The timerid does not name a valid posix timer.

SEE ALSO
     timer_delete(3C), timer_settime(3C), timer_gettime(3C), sigaction(2)

DIAGNOSTICS
     Upon successful completion, a value of 0 is returned and the timer
     specified by timerid is deleted.  Otherwise, a value of -1 is returned
     and errno is set to indicate the error.