hpux man page for gettimer

Query: gettimer

OS: hpux

Section: 3c

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

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)
Related Man Pages
timer_settime(2) - hpux
timer_gettime(2) - hpux
reltimer(3c) - hpux
reltimer(3) - osf1
timer_settime(3) - osf1
Similar Topics in the Unix Linux Community
Questions about timer in multi-threads environment
Microsecond timer and printf issues in C++
Need some help
Countdown timer with seconds
Adder timer to 1 of these columns