[PATCH v2 2/3] system_data_types.7: Add 'clock_t'
Michael Kerrisk (man-pages)
mtk.manpages@gmail.com
Sun Oct 18 13:10:33 GMT 2020
On 10/18/20 11:49 AM, Alejandro Colomar wrote:
> Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Thanks, Alex. Patch applied.
Cheers,
Michael
> ---
> man7/system_data_types.7 | 25 +++++++++++++++++++++++++
> 1 file changed, 25 insertions(+)
>
> diff --git a/man7/system_data_types.7 b/man7/system_data_types.7
> index 8a894b2e0..abc456f0b 100644
> --- a/man7/system_data_types.7
> +++ b/man7/system_data_types.7
> @@ -85,6 +85,31 @@ See also:
> .BR aio_write (3),
> .BR lio_listio (3)
> .RE
> +.\"------------------------------------- clock_t ----------------------/
> +.TP
> +.I clock_t
> +.RS
> +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
> +Conforming to:
> +C99 and later; POSIX.1-2001 and later.
> +.PP
> +See also:
> +.BR times (2),
> +.BR clock (3)
> +.RE
> .\"------------------------------------- div_t ------------------------/
> .TP
> .I div_t
>
--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
More information about the Libc-alpha
mailing list