]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
man/man3/{stdin,stdio}.3: SYNOPSIS: Consistently declare as 'extern' variables
authorAlejandro Colomar <alx@kernel.org>
Tue, 24 Dec 2024 18:44:59 +0000 (19:44 +0100)
committerAlejandro Colomar <alx@kernel.org>
Tue, 24 Dec 2024 18:45:29 +0000 (19:45 +0100)
And leave two spaces between the type name and the variable name.

Signed-off-by: Alejandro Colomar <alx@kernel.org>
man/man3/stdin.3
man/man3/stdio.3

index 360b28ba3038f2caa7d58ed2334bef3565553793..04e4e34ca1f8a839d44348a99b86c51ca2109dad 100644 (file)
@@ -20,9 +20,9 @@ Standard C library
 .nf
 .B #include <stdio.h>
 .P
-.BI "extern FILE *" stdin ;
-.BI "extern FILE *" stdout ;
-.BI "extern FILE *" stderr ;
+.BI extern\~FILE\~\~* stdin ;
+.BI extern\~FILE\~\~* stdout ;
+.BI extern\~FILE\~\~* stderr ;
 .fi
 .SH DESCRIPTION
 Under normal circumstances every UNIX program has three streams opened
index 728424c2c08fb66090cd0ca31bbf5c9a932bf072..07f1a1a0922bc01a77f60aa6d99307bab6fa4dc9 100644 (file)
@@ -19,9 +19,9 @@ Standard C library
 .nf
 .B #include <stdio.h>
 .P
-.BI "FILE *" stdin ;
-.BI "FILE *" stdout ;
-.BI "FILE *" stderr ;
+.BI extern\~FILE\~\~* stdin ;
+.BI extern\~FILE\~\~* stdout ;
+.BI extern\~FILE\~\~* stderr ;
 .fi
 .SH DESCRIPTION
 The standard I/O library provides a simple and efficient buffered stream