getclock man page on HP-UX

Printed from http://www.polarhome.com/service/man/?qf=getclock&af=0&tf=2&of=HP-UX

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)
[top]

List of man pages available for HP-UX

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