Query: clock_getres
OS: osf1
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
clock_getres(3) Library Functions Manual clock_getres(3)NAMEclock_getres - Gets the resolution for the specified clock (P1003.1b)LIBRARYRealtime Library (librt.so, librt.a)SYNOPSIS#include <time.h> int clock_getres ( clockid_t clock_id, struct timespec *res);PARAMETERSclock_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.DESCRIPTIONThe clock_getres function returns the resolution value for the specified clock. If the res argument is NULL, the clock resolution is not returned.RETURN VALUESOn a successful call, a value of 0 (zero) is returned. On an unsuccessful call, a value of -1 is returned and errno is set to indicate that an error occurred.ERRORSThe clock_getres function fails under the following condition: [EINVAL] The clock_id argument does not specify a known clock.RELATED INFORMATIONFunctions: time(1), ctime(3), timer_settime(3) Guide to Realtime Programming delim off clock_getres(3)
Related Man Pages |
---|
clock_settime(3c) - opensolaris |
clock_getres(3c) - opensolaris |
clock_getres(3) - mojave |
clock_gettime(2) - netbsd |
clock_getres(3rt) - sunos |
Similar Topics in the Unix Linux Community |
---|
*nix Desktops |
Bugs with clock() |
RTM Realtime Monitoring |
data resolution |
mk_kernel : "dev_config" error (hpux 11.23) |