]> git.ipfire.org Git - thirdparty/man-pages.git/blob - man3type/clock_t.3type
145f5142320bff7e1e72eef63ae378e18a9ffc69
[thirdparty/man-pages.git] / man3type / clock_t.3type
1 .\" Copyright (c) 2020-2022 by Alejandro Colomar <colomar.6.4.3@gmail.com>
2 .\" and Copyright (c) 2020 by Michael Kerrisk <mtk.manpages@gmail.com>
3 .\"
4 .\" SPDX-License-Identifier: Linux-man-pages-copyleft
5 .\"
6 .\"
7 .TH CLOCK_T 3type 2021-11-02 "Linux man-pages (unreleased)" "Linux Programmer's Manual"
8 .SH NAME
9 clock_t \- system time
10 .SH LIBRARY
11 Standard C library
12 .RI ( libc )
13 .SH SYNOPSIS
14 .nf
15 .B #include <time.h>
16 .PP
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,
25 it is an integer type or a real-floating type.
26 .SH STANDARDS
27 C99 and later; POSIX.1-2001 and later.
28 .SH NOTES
29 The following headers also provide this type:
30 .I <sys/types.h>
31 and
32 .IR <sys/time.h> .
33 .SH SEE ALSO
34 .BR times (2),
35 .BR clock (3)