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

  man pages->Tru64 Unix man pages -> gettimer (3)              
Title
Content
Arch
Section
 

gettimer(3)

Contents


NAME    [Toc]    [Back]

       gettimer - Get value of a per-process timer

SYNOPSIS    [Toc]    [Back]

       #include <sys/timers.h>

       int gettimer(
               timer_t timerid,
               struct itimerspec *tp );

LIBRARY    [Toc]    [Back]

       Standard C Library (libc)

PARAMETERS    [Toc]    [Back]

       Specifies  the  per-process  timer  to  use; this value is
       obtained from a call to mktimer().  Points to  an  itimerspec
 structure.

DESCRIPTION    [Toc]    [Back]

       The  gettimer()  function gets the current value of a perprocess
 timer.

NOTES    [Toc]    [Back]

       The gettimer() function is part of the POSIX 1003.4  realtime
  extensions,  which  is  not an approved standard. As
       such, it is liable to change.  Trial use

RETURN VALUES    [Toc]    [Back]

       Upon  successful  completion,  the   gettimer()   function
       returns  the  value  0  (zero).  Otherwise, the gettimer()
       function returns a value of -1 and sets errno to  indicate
       the error.

ERRORS    [Toc]    [Back]

       If  the gettimer() function fails, errno may be set to the
       following value: The timerid parameter does not specify  a
       known timer.

SEE ALSO    [Toc]    [Back]

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



                                                      gettimer(3)
[ Back ]
 Similar pages
Name OS Title
rmtimer Tru64 Free 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)
timer_delete HP-UX timer operations
ualarm HP-UX set the interval timer
setitimer HP-UX get and set value of interval timer
setitimer FreeBSD get/set value of interval timer
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service