[1/2] system_Data_types.7: Add 'clockid_t'

Message ID 20201025210816.8072-1-colomar.6.4.3@gmail.com
State Not applicable
Headers
Series [1/2] system_Data_types.7: Add 'clockid_t' |

Commit Message

Alejandro Colomar Oct. 25, 2020, 9:08 p.m. UTC
  Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
---
 man7/system_data_types.7 | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
  

Comments

Michael Kerrisk \(man-pages\) Oct. 25, 2020, 9:19 p.m. UTC | #1
On 10/25/20 10:08 PM, 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 | 23 +++++++++++++++++++++++
>  1 file changed, 23 insertions(+)
> 
> diff --git a/man7/system_data_types.7 b/man7/system_data_types.7
> index 28d276c69..49ca2d8e1 100644
> --- a/man7/system_data_types.7
> +++ b/man7/system_data_types.7
> @@ -110,6 +110,29 @@ See also:
>  .BR times (2),
>  .BR clock (3)
>  .RE
> +.\"------------------------------------- clockid_t --------------------/
> +.TP
> +.I clockid_t
> +.RS
> +Include:
> +.IR <sys/types.h> .
> +Alternatively,
> +.IR <time.h> .
> +.PP
> +Used for clock ID type in the clock and timer functions.
> +According to POSIX,
> +it shall be defined as an arithmetic type.
> +.PP
> +Conforming to:
> +POSIX.1-2001 and later.
> +.PP
> +See also:
> +.BR clock_adjtime (2),
> +.BR clock_getres (2),
> +.BR clock_nanosleep (2),
> +.BR timer_create (2),
> +.BR clock_getcpuclockid (3)
> +.RE
>  .\"------------------------------------- div_t ------------------------/
>  .TP
>  .I div_t
>
  

Patch

diff --git a/man7/system_data_types.7 b/man7/system_data_types.7
index 28d276c69..49ca2d8e1 100644
--- a/man7/system_data_types.7
+++ b/man7/system_data_types.7
@@ -110,6 +110,29 @@  See also:
 .BR times (2),
 .BR clock (3)
 .RE
+.\"------------------------------------- clockid_t --------------------/
+.TP
+.I clockid_t
+.RS
+Include:
+.IR <sys/types.h> .
+Alternatively,
+.IR <time.h> .
+.PP
+Used for clock ID type in the clock and timer functions.
+According to POSIX,
+it shall be defined as an arithmetic type.
+.PP
+Conforming to:
+POSIX.1-2001 and later.
+.PP
+See also:
+.BR clock_adjtime (2),
+.BR clock_getres (2),
+.BR clock_nanosleep (2),
+.BR timer_create (2),
+.BR clock_getcpuclockid (3)
+.RE
 .\"------------------------------------- div_t ------------------------/
 .TP
 .I div_t