Signed-off-by: Alejandro Colomar <alx.manpages@xxxxxxxxx> --- man3/clock_t.3 | 27 ++++++++++++++++++++++++++- man7/system_data_types.7 | 24 ------------------------ 2 files changed, 26 insertions(+), 25 deletions(-) diff --git a/man3/clock_t.3 b/man3/clock_t.3 index db50c0f09..e842b4411 100644 --- a/man3/clock_t.3 +++ b/man3/clock_t.3 @@ -1 +1,26 @@ -.so man7/system_data_types.7 +.TH CLOCK_T 3 2021-11-02 Linux "Linux Programmer's Manual" +.SH NAME +clock_t \- system time +.SH SYNOPSIS +.nf +.B #include <time.h> +.PP +.BR typedef " /* ... */ " clock_t; +.fi +.SH DESCRIPTION +Used for system time in clock ticks or +.B CLOCKS_PER_SEC +(defined in +.IR <time.h> ). +According to POSIX, +it shall be an integer type or a real-floating type. +.SH CONFORMING TO +C99 and later; POSIX.1-2001 and later. +.SH NOTES +The following headers also provide this type: +.I <sys/types.h> +and +.IR <sys/time.h> . +.SH SEE ALSO +.BR times (2), +.BR clock (3) diff --git a/man7/system_data_types.7 b/man7/system_data_types.7 index 4702f7a67..e320c44ca 100644 --- a/man7/system_data_types.7 +++ b/man7/system_data_types.7 @@ -55,30 +55,6 @@ system_data_types \- overview of system data types .\"------------------------------------- blksize_t --------------------/ .\"------------------------------------- cc_t -------------------------/ .\"------------------------------------- clock_t ----------------------/ -.TP -.I clock_t -.RS -.IR Include : -.I <time.h> -or -.IR <sys/types.h> . -Alternatively, -.IR <sys/time.h> . -.PP -Used for system time in clock ticks or -.B CLOCKS_PER_SEC -(defined in -.IR <time.h> ). -According to POSIX, -it shall be an integer type or a real-floating type. -.PP -.IR "Conforming to" : -C99 and later; POSIX.1-2001 and later. -.PP -.IR "See also" : -.BR times (2), -.BR clock (3) -.RE .\"------------------------------------- clockid_t --------------------/ .TP .I clockid_t -- 2.33.1