---
name: "clock_t"
section: "3type"
platform: "linux"
package: "man-pages"
version: "6.19-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/clock_t/3type"
---

# clock\_t(3type)

system time

## 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-2024.

## HISTORY

C89, POSIX.1-1988.

## NOTES

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

## SEE ALSO

[**times**(2)](/times/2.md), [**clock**(3)](/clock/3.md)
