Debian Codegraph @

upstream/debian-unstable/man3/clock_t.3type

raw
1 .\" Copyright 2020, Michael Kerrisk <[email protected]>
2 .\" Copyright, the authors of the Linux man-pages project
3 .\"
4 .\" SPDX-License-Identifier: Linux-man-pages-copyleft
5 .\"
6 .TH clock_t 3type 2026-02-08 "Linux man-pages 6.18"
7 .SH NAME
8 clock_t \- system time
9 .SH LIBRARY
10 Standard C library
11 .RI ( libc )
12 .SH SYNOPSIS
13 .nf
14 .B #include <time.h>
15 .P
16 .BR typedef " /* ... */ " clock_t;
17 .fi
18 .SH DESCRIPTION
19 Used for system time in clock ticks or
20 .B CLOCKS_PER_SEC
21 (defined in
22 .IR <time.h> ).
23 According to POSIX,
24 it is an integer type or a real-floating type.
25 .SH STANDARDS
26 C11, POSIX.1-2024.
27 .SH HISTORY
28 C89,
29 POSIX.1-1988.
30 .SH NOTES
31 The following headers also provide this type:
32 .I <sys/types.h>
33 and
34 .IR <sys/times.h> .
35 .SH SEE ALSO
36 .BR times (2),
37 .BR clock (3)