Thread (38 messages) 38 messages, 1 author, 2021-11-02

[RFC 22/37] FILE.3, system_data_types.7: Move text to a separate page

flat view

From: Alejandro Colomar <hidden>
Date: 2021-11-02 18:15:28
Subsystem: the rest · Maintainer: Linus Torvalds

Signed-off-by: Alejandro Colomar <redacted>
---
 man3/FILE.3              | 26 +++++++++++++++++++++++++-
 man7/system_data_types.7 | 23 -----------------------
 2 files changed, 25 insertions(+), 24 deletions(-)
diff --git a/man3/FILE.3 b/man3/FILE.3
index db50c0f09..57587dd5b 100644
--- a/man3/FILE.3
+++ b/man3/FILE.3
@@ -1 +1,25 @@
-.so man7/system_data_types.7
+.TH FILE 3 2021-11-02 Linux "Linux Programmer's Manual"
+.SH NAME
+FILE \- input/output stream
+.SH SYNOPSIS
+.nf
+.B #include <stdio.h>
+.PP
+.BR typedef " /* ... */ " FILE;
+.fi
+.SH DESCRIPTION
+An object type used for streams.
+.SH CONFORMING TO
+C99 and later; POSIX.1-2001 and later.
+.SH NOTES
+The following header also provides this type:
+.IR <wchar.h> .
+.SH SEE ALSO
+.BR fclose (3),
+.BR flockfile (3),
+.BR fopen (3),
+.BR fprintf (3),
+.BR fread (3),
+.BR fscanf (3),
+.BR stdin (3),
+.BR stdio (3)
diff --git a/man7/system_data_types.7 b/man7/system_data_types.7
index 90b6f743e..672528cb4 100644
--- a/man7/system_data_types.7
+++ b/man7/system_data_types.7
@@ -63,29 +63,6 @@ system_data_types \- overview of system data types
 .\"------------------------------------- fenv_t -----------------------/
 .\"------------------------------------- fexcept_t --------------------/
 .\"------------------------------------- FILE -------------------------/
-.TP
-.I FILE
-.RS
-.IR Include :
-.IR <stdio.h> .
-Alternatively,
-.IR <wchar.h> .
-.PP
-An object type used for streams.
-.PP
-.IR "Conforming to" :
-C99 and later; POSIX.1-2001 and later.
-.PP
-.IR "See also" :
-.BR fclose (3),
-.BR flockfile (3),
-.BR fopen (3),
-.BR fprintf (3),
-.BR fread (3),
-.BR fscanf (3),
-.BR stdin (3),
-.BR stdio (3)
-.RE
 .\"------------------------------------- float_t ----------------------/
 .\"------------------------------------- gid_t ------------------------/
 .TP
-- 
2.33.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help