Home

clock_t(3type)

clock_t(3type)clock_t(3type)

clock_t - system time

Standard C library (libc)

#include <time.h>
typedef /* ... */ clock_t;

Used for system time in clock ticks or CLOCKS_PER_SEC (defined in <time.h>). According to POSIX, it is an integer type or a real-floating type.

C99 and later; POSIX.1-2001 and later.

The following headers also provide this type: <sys/types.h> and <sys/time.h>.

times(2), clock(3)

2022-10-30Linux man-pages 6.03