clock_t - system time

NAME  LIBRARY  SYNOPSIS  DESCRIPTION  STANDARDS  HISTORY  NOTES  SEE ALSO 

NAME

clock_t − system time

LIBRARY

Standard C library (libc)

SYNOPSIS

#include <time.h>

typedef /* ... */ clock_t;

DESCRIPTION

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.

STANDARDS

C11, POSIX.1-2008.

HISTORY

C89, POSIX.1-2001.

NOTES

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

SEE ALSO

times(2), clock(3)


Updated 2024-01-29 - jenkler.se | uex.se