Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

rmtimer(3) [osf1 man page]

rmtimer(3)						     Library Functions Manual							rmtimer(3)

NAME
rmtimer - Frees a per-process timer LIBRARY
Standard C Library (libc.a) SYNOPSIS
#include <sys/timers.h> int rmtimer( timer_t timer_id ); PARAMETERS
Specifies the per-process timer to deallocate. DESCRIPTION
The rmtimer() function is used to free a previously allocated per-process timer (previously returned by the mktimer() function). Any pend- ing per-process timer event generated by the timer specified by the timer_id parameter is canceled when this function successfully exe- cutes. NOTES
Trial use RETURN VALUES
Upon successful completion, the value 0 (zero) is returned. Otherwise, the value -1 is returned and errno is set to indicate the error. ERRORS
If the rmtimer() function fails, errno may be set to the following value: The timerid parameter does not specify an allocated per-process timer. RELATED INFORMATION
Functions: gettimer(3), mktimer(3), reltimer(3) delim off rmtimer(3)

Check Out this Related Man Page

gettimer(3C)															      gettimer(3C)

NAME
gettimer - get value of a per-process timer SYNOPSIS
DESCRIPTION
The function returns an structure value to the argument. The member of the structure represents the amount of time in the current interval before the timer expires for the timer specified in or zero if the timer is disabled. The member has the value last set by (see rel- timer(3C)). The members of are subject to the resolution of the timer (see mktimer(3C)). The behavior of this function is undefined if is NULL. RETURN VALUE
Upon successful completion, returns zero; otherwise, it returns -1 and sets to indicate the error. ERRORS
fails if any of the following conditions are encountered: [EINVAL] does not correspond to an ID returned by [EIO] An error occurred while accessing the clock device. FILES
SEE ALSO
timers(2), timer_gettime(2), mktimer(3C), reltimer(3C), thread_safety(5). STANDARDS CONFORMANCE
gettimer(3C)
Man Page

We Also Found This Discussion For You

1. What is on Your Mind?

Throw my Toys out of the Pram!

Hi Folks, Today hasn't been the best one of my career in IT. I've been a contractor for a major utility company for a number of years, on a number of seperate IT contracts mostly Unix. The company had 10 different flavours of unix and multiple different varsions of most of them. At the... (3 Replies)
Discussion started by: gull04
3 Replies