Query: getclock
OS: hpux
Section: 3c
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
getclock(3C) getclock(3C)NAMEgetclock - get current value of system-wide clockSYNOPSISDESCRIPTIONThe 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 VALUEUpon successful completion, returns a value of zero; otherwise it returns a value of -1 and sets to indicate the error.ERRORSfails 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.FILESSEE ALSOclocks(2), clock_gettime(2), gettimer(3C), setclock(3C), thread_safety(5).STANDARDS CONFORMANCEgetclock(3C)
| Related Man Pages |
|---|
| clock_settime(3c) - opensolaris |
| clock_settime(3rt) - sunos |
| clock_getres(2) - hpux |
| clock_settime(2) - hpux |
| setclock(3c) - hpux |
| 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 |