timer_gettime man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



timer_gettime(3C)					     timer_gettime(3C)

NAME
     timer_gettime - get the time remaining before posix timer expiration

SYNOPSIS
     #include <time.h>
     int timer_gettime (timer_t timerid, struct itimerspec *value);

DESCRIPTION
     timer_gettime retrieves the time remaining before the posix timer named
     by timerid expires, as well as, the periodic timer interval between
     expirations and stores the information at memory address value.

     The it_value field of value contains the time remainder, while the
     it_interval field contains the periodic timer interval.  If it_value
     contains zero after a successful return, then the timer is disarmed.  If
     it_interval contains zero after a successful return, then the timer is
     not periodic.

     timer_gettime will fail if one or more of the following are true:

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

     [EFAULT]	 The address specified by value is outside the range of the
		 address space of the calling process.

SEE ALSO
     timer_create(3C), timer_delete(3C), timer_getoverrun(3C),
     timer_settime(3C), clock_settime(2), clock_gettime(2), clock_getres(2),
     getitimer(2), setiitimer(2)

DIAGNOSTICS
     Upon successful completion, a value of 0 is returned to the calling
     process. Otherwise, a value of -1 is returned and errno is set to
     indicate the error.

									Page 1

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net