*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> rmtimer (3)              



NAME    [Toc]    [Back]

       rmtimer - Free a per-process timer

SYNOPSIS    [Toc]    [Back]

       #include <sys/timers.h>

       int rmtimer(
               timer_t timer_id );

LIBRARY    [Toc]    [Back]

       Standard C Library (libc)

PARAMETERS    [Toc]    [Back]

       Specifies the per-process timer to deallocate.

DESCRIPTION    [Toc]    [Back]

       The  rmtimer() function is used to free a previously allocated
  per-process  timer  (previously  returned  by   the
       mktimer()  function).  Any pending per-process timer event
       generated by the timer specified by the timer_id parameter
       is canceled when this function successfully executes.

NOTES    [Toc]    [Back]

       Trial use

RETURN VALUES    [Toc]    [Back]

       Upon   successful   completion,  the  value  0  (zero)  is
       returned. Otherwise, the value -1 is returned and errno is
       set to indicate the error.

ERRORS    [Toc]    [Back]

       If  the  rmtimer() function fails, errno may be set to the
       following value: The timerid parameter does not specify an
       allocated per-process timer.

SEE ALSO    [Toc]    [Back]

       Functions: gettimer(3), mktimer(3), reltimer(3)

[ Back ]
 Similar pages
Name OS Title
gettimer Tru64 Get value of a per-process timer
timer_create Tru64 Allocates a per-process timer
mktimer Tru64 Allocate a per-process timer
reltimer Tru64 Establishe timeout intervals of a per-process timer
nanosleep Tru64 Suspends a process from execution for the specified timer interval (P1003.1b)
timer_delete Tru64 Deallocates a previously allocated per-process timer (P1003.1b)
ualarm HP-UX set the interval timer
timercmp OpenBSD get/set value of interval timer
timerclear OpenBSD get/set value of interval timer
timersub OpenBSD get/set value of interval timer
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service