osf1 man page for gettimer

Query: gettimer

OS: osf1

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

gettimer(3)						     Library Functions Manual						       gettimer(3)

NAME
gettimer - Gets value of a per-process timer
LIBRARY
Standard C Library (libc.a)
SYNOPSIS
#include <sys/timers.h> int gettimer( timer_t timerid, struct itimerspec *tp) ;
PARAMETERS
Specifies the per-process timer to use; this value is obtained from a call to mktimer(). Points to an itimerspec structure.
DESCRIPTION
The gettimer() function gets the current value of a per-process timer.
NOTES
The gettimer() function is part of the POSIX 1003.4 real-time extensions, which is not an approved standard. As such, it is liable to change. Trial use
RETURN VALUES
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
If the gettimer() function fails, errno may be set to the following value: The timerid parameter does not specify a known timer.
RELATED INFORMATION
Functions: mktimer(2), reltimer(3), rmtimer(3) delim off gettimer(3)
Related Man Pages
timer_settime(2) - netbsd
gettimer(3c) - hpux
getclock(3) - osf1
reltimer(3) - osf1
timer_settime(3) - osf1
Similar Topics in the Unix Linux Community
Day 5 of the SCO v. Novell Trial and Some Help for Journalists Covering the Trial - Updated