Re: [PATCH 1/6] system_data_types.7: Add div_t

Michael Kerrisk (man-pages)
2020-09-24T11:05:35Z

On 9/24/20 12:13 PM, Alejandro Colomar wrote:
> Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
> ---
> man7/system_data_types.7 | 22 ++++++++++++++++++++++
> 1 file changed, 22 insertions(+)
>
> diff --git a/man7/system_data_types.7 b/man7/system_data_types.7
> index c00345741..077d669b4 100644
> --- a/man7/system_data_types.7
> +++ b/man7/system_data_types.7
> @@ -95,6 +95,28 @@ See also:
> .BR aio_suspend (3),
> .BR aio_write (3),
> .BR lio_listio (3)
> +.\"------------------------------------- div_t ------------------------/
> +.TP
> +.I div_t
> +.IP
> +Include:
> +.IR <stdlib.h> .
> +.IP
> +.EX
> +typedef struct {
> + int quot; /* Quotient */
> + int rem; /* Remainder */
> +} div_t;
> +.EE
> +.IP
> +It is the type of the value returned by the
> +.I div (3)
> +function.
> +.IP
> +Conforming to: C99 and later; POSIX.1-2001 and later.
> +.IP
> +See also:
> +.BR div (3)
> .\"------------------------------------- fenv_t -----------------------/
> .TP
> .I fenv_t
>

Applied.

Thanks,

Michael

--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/