---
name: "clockid_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/clockid_t/3type"
---

# clockid\_t(3type)

clock ID for the clock and timer functions

## NAME

clockid\_t - clock ID for the clock and timer functions

## LIBRARY

Standard C library (*libc*)

## SYNOPSIS

```
#include <sys/types.h>
```

**typedef** /\* ... \*/ **clockid\_t;**

## DESCRIPTION

Used for clock ID type in the clock and timer functions. It is defined as an arithmetic type.

## STANDARDS

POSIX.1-2024.

## HISTORY

POSIX.1-1996.

## NOTES

The following header also provides this type: *\<time.h\>*.

## SEE ALSO

[**clock\_adjtime**(2)](/clock_adjtime/2.md), [**clock\_getres**(2)](/clock_getres/2.md), [**clock\_nanosleep**(2)](/clock_nanosleep/2.md), [**timer\_create**(2)](/timer_create/2.md), [**clock\_getcpuclockid**(3)](/clock_getcpuclockid/3.md)
