HP-UX Reference (11i v3 07/02) - 3 Library Functions N-Z (vol 7)

r
rmtimer(3C) rmtimer(3C)
NAME
rmtimer - free a per-process timer
SYNOPSIS
#include <sys/timers.h>
int rmtimer(timer_t timerid);
DESCRIPTION
The rmtimer() function is used to free a previously allocated timer (returned by
mktimer(). Any
pending timer event to be generated by this timer has been canceled when the call returns.
RETURN VALUE
Upon successful completion,
rmtimer() returns zero; otherwise, it returns 1 and sets
errno to indi-
cate the error.
ERRORS
rmtimer() fails if the following condition is encountered:
[EINVAL] timerid is not a valid timer ID.
FILES
/usr/include/sys/timers.h
SEE ALSO
timers(2), mktimer(3C), reltimer(3C), thread_safety(5).
STANDARDS CONFORMANCE
rmtimer(): AES
298 Hewlett-Packard Company 1 HP-UX 11i Version 3: February 2007