diff mbox series

[2/3] system_data_types.7: Add 'FILE'

Message ID 20200927211345.20433-2-colomar.6.4.3@gmail.com
State Not Applicable
Headers show
Series [1/3] system_data_types.7: ffix | expand

Commit Message

Alejandro Colomar Sept. 27, 2020, 9:13 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\) Sept. 28, 2020, 6:04 a.m. UTC | #1
Hi Alex,

On 9/27/20 11:13 PM, Alejandro Colomar wrote:
> Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
> ---
>  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 ff0403df9..16930985e 100644
> --- a/man7/system_data_types.7
> +++ b/man7/system_data_types.7
> @@ -197,6 +197,29 @@ Conforming to: C99 and later; POSIX.1-2001 and later.
>  See also:
>  .BR fenv (3)
>  .RE
> +.\"------------------------------------- FILE -------------------------/
> +.TP
> +.I FILE
> +.RS
> +.br

See my previous mail. In the meantime, I'm okay with applying
this kind of formatting for this (and following) patches, though
it may need changing later.

> +Include:
> +.IR <stdio.h> ;
> +or
> +.IR <wchar.h> .
> +.PP
> +An object type used for streams.
> +.PP
> +Conforming to: C99 and later; POSIX.1-2001 and later.
> +.PP
> +See also:
> +.BR fclose (3),
> +.BR flockfile (3),
> +.BR fopen (3),
> +.BR fread (3),
> +.BR stdin (3),
> +.BR stdio (3),
> +.BR unlocked_stdio (3)

Let's have fscanf() and fprintf() here. On the other hand,
I think unlocked_stdio(3) probably isn't needed.

> +.RE
>  .\"------------------------------------- float_t ----------------------/
>  .TP
>  .I float_t

Thanks,

Michael
diff mbox series

Patch

diff --git a/man7/system_data_types.7 b/man7/system_data_types.7
index ff0403df9..16930985e 100644
--- a/man7/system_data_types.7
+++ b/man7/system_data_types.7
@@ -197,6 +197,29 @@  Conforming to: C99 and later; POSIX.1-2001 and later.
 See also:
 .BR fenv (3)
 .RE
+.\"------------------------------------- FILE -------------------------/
+.TP
+.I FILE
+.RS
+.br
+Include:
+.IR <stdio.h> ;
+or
+.IR <wchar.h> .
+.PP
+An object type used for streams.
+.PP
+Conforming to: C99 and later; POSIX.1-2001 and later.
+.PP
+See also:
+.BR fclose (3),
+.BR flockfile (3),
+.BR fopen (3),
+.BR fread (3),
+.BR stdin (3),
+.BR stdio (3),
+.BR unlocked_stdio (3)
+.RE
 .\"------------------------------------- float_t ----------------------/
 .TP
 .I float_t