hpux man page for getclock

Query: getclock

OS: hpux

Section: 3c

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

getclock(3C)															      getclock(3C)

NAME
getclock - get current value of system-wide clock
SYNOPSIS
DESCRIPTION
The function gets the current value of the specified system-wide clock, supports a of defined in which represents the time-of-day clock for the system. For this clock, the values returned by represent the amount of time since the Epoch.
RETURN VALUE
Upon successful completion, returns a value of zero; otherwise it returns a value of -1 and sets to indicate the error.
ERRORS
fails if any of the following conditions are encountered: [EINVAL] does not specify a known system-wide clock. [EIO] An error occurred while accessing the clock device.
FILES
SEE ALSO
clocks(2), clock_gettime(2), gettimer(3C), setclock(3C), thread_safety(5).
STANDARDS CONFORMANCE
getclock(3C)
Related Man Pages
clock_gettime(3c) - opensolaris
clock_getres(2) - hpux
clock(3c) - hpux
mktimer(3c) - hpux
getclock(3) - osf1
Similar Topics in the Unix Linux Community
smallest resolution using gettimeofday() in C
How to start Apache2 and vsftpd at boot
Test program not giving expected result
NTP synchronised problem in our Centos 7.6 node