clock_getres man page on YellowDog

Man page or keyword search:  
man Server   18644 pages
apropos Keyword Search (all sections)
Output format
YellowDog logo
[printable version]


CLOCK_GETRES(2)		   Linux Programmer's Manual	       CLOCK_GETRES(2)

NAME
       clock_getres - Get the resolution of any clock

SYNOPSIS
       long sys_clock_getres (clockid_t which_clock, struct timespec *tp);

DESCRIPTION
       clock_gettime  gets  the	 resolution  of	 any  clock  specified	by the
       which_clock parameter, and places this information in the struct	 time‐
       spec pointed to by tp. The values that clockid_t currently supports for
       POSIX.1b timers, as defined in include/linux/time.h, are:

       CLOCK_REALTIME
	      Systemwide realtime clock.

       CLOCK_MONOTONIC
	      Represents monotonic time. Cannot be set.

       CLOCK_PROCESS_CPUTIME_ID
	      High resolution per-process timer.

       CLOCK_THREAD_CPUTIME_ID
	      Thread-specific timer.

       CLOCK_REALTIME_HR
	      High resolution version of CLOCK_REALTIME.

       CLOCK_MONOTONIC_HR
	      High resolution version of CLOCK_MONOTONIC.

RETURN VALUE
       clock_gettime returns 0 on success; otherwise, it returns  one  of  the
       errors listed in the "Errors" section.

ERRORS
       -EINVAL
	      An invalid which_clock value was specified.

       -EFAULT
	      An invalid tp value was specified.

SEE ALSO
       clock_gettext(2), clock_nanosleep(2), clock_settime(2)

AUTHOR
       Niki Rahimi

Linux 2.6			  2004-03-12		       CLOCK_GETRES(2)
[top]

List of man pages available for YellowDog

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