]>
Commit | Line | Data |
---|---|---|
cb0f97b2 | 1 | .\" Copyright (c) 2020-2022 by Alejandro Colomar <alx@kernel.org> |
b4ba165d AC |
2 | .\" and Copyright (c) 2020 by Michael Kerrisk <mtk.manpages@gmail.com> |
3 | .\" | |
5fbde956 | 4 | .\" SPDX-License-Identifier: Linux-man-pages-copyleft |
b4ba165d AC |
5 | .\" |
6 | .\" | |
4c1c5274 | 7 | .TH clock_t 3type (date) "Linux man-pages (unreleased)" |
affe5263 AC |
8 | .SH NAME |
9 | clock_t \- system time | |
67706947 AC |
10 | .SH LIBRARY |
11 | Standard C library | |
12 | .RI ( libc ) | |
affe5263 AC |
13 | .SH SYNOPSIS |
14 | .nf | |
15 | .B #include <time.h> | |
c6d039a3 | 16 | .P |
affe5263 AC |
17 | .BR typedef " /* ... */ " clock_t; |
18 | .fi | |
19 | .SH DESCRIPTION | |
20 | Used for system time in clock ticks or | |
21 | .B CLOCKS_PER_SEC | |
22 | (defined in | |
23 | .IR <time.h> ). | |
24 | According to POSIX, | |
2325c425 | 25 | it is an integer type or a real-floating type. |
3113c7f3 | 26 | .SH STANDARDS |
4131356c AC |
27 | C11, POSIX.1-2008. |
28 | .SH HISTORY | |
29 | C89, POSIX.1-2001. | |
affe5263 AC |
30 | .SH NOTES |
31 | The following headers also provide this type: | |
32 | .I <sys/types.h> | |
33 | and | |
9622a006 | 34 | .IR <sys/times.h> . |
affe5263 AC |
35 | .SH SEE ALSO |
36 | .BR times (2), | |
37 | .BR clock (3) |