*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: clock_getres | Section: 3 | Source: Digital UNIX | File: clock_getres.3.gz
clock_getres(3) Library Functions Manual clock_getres(3) NAME clock_getres - Get the resolution for the specified clock (P1003.1b) SYNOPSIS #include <time.h> int clock_getres ( clockid_t clock_id, struct timespec *res); PARAMETERS clock_id The clock type used to obtain the resolution. The CLOCK_REALTIME clock is supported and represents the TIME- OF-DAY clock for the system. *res A pointer to the timespec data structure that receives the value of the clock's resolution. DESCRIPTION The clock_getres function returns the resolution value for the speci- fied clock. If the res argument is NULL, the clock resolution is not returned. RETURN VALUES On a successful call, a value of 0 is returned. On an unsuccessful call, a value of -1 is returned and errno is set to indicate that an error occurred. ERRORS The clock_getres function fails under the following condition: [EINVAL] The clock_id argument does not specify a known clock. RELATED INFORMATION Functions: time(1), ctime(3), timer_settime(3) delim off clock_getres(3)

Navigation Options