aboutsummaryrefslogtreecommitdiffstats
path: root/man3/stdin.3
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2007-12-28 05:38:10 +0000
committerMichael Kerrisk <mtk.manpages@gmail.com>2007-12-28 05:38:10 +0000
commit5ec60461500ffeb8d80e26ae42835379aaba67de (patch)
tree086307c661c5f6e8c2a32a960d8f477eb14f0491 /man3/stdin.3
parent7afcdaa1a13d575b7c806138d08fb5fdeb2c30d7 (diff)
downloadman-pages-5ec60461500ffeb8d80e26ae42835379aaba67de.tar.gz
Improve macros used in 2.71 to convert from "mdoc" to "man".
Diffstat (limited to 'man3/stdin.3')
-rw-r--r--man3/stdin.312
1 files changed, 6 insertions, 6 deletions
diff --git a/man3/stdin.3 b/man3/stdin.3
index 570827a74c..8465b44646 100644
--- a/man3/stdin.3
+++ b/man3/stdin.3
@@ -6,7 +6,7 @@
.\"
.\" 2007-12-08, mtk, Converted from mdoc to man macros
.\"
-.TH STDIN 3 2007-12-08 "Linux" "Linux Programmer's Manual"
+.TH STDIN 3 2007-12-28 "Linux" "Linux Programmer's Manual"
.SH NAME
stdin, stdout, stderr \- standard I/O streams
.SH SYNOPSIS
@@ -27,7 +27,7 @@ the user's terminal (see
but might instead refer to files or other devices, depending on what
the parent process chose to set up. (See also the "Redirection" section of
.BR sh (1).)
-.sp
+.PP
The input stream is referred to as "standard input"; the output stream is
referred to as "standard output"; and the error stream is referred to
as "standard error".
@@ -46,7 +46,7 @@ and can be used with functions like
.BR fprintf (3)
or
.BR fread (3).
-.sp
+.PP
Since
.IR FILE s
are a buffering wrapper around Unix file descriptors, the
@@ -55,7 +55,7 @@ interface, that is, the functions like
.BR read (2)
and
.BR lseek (2).
-.sp
+.PP
On program startup, the integer file descriptors
associated with the streams
.IR stdin ,
@@ -74,7 +74,7 @@ are defined with these values in
.BR freopen (3)
to one of these streams can change the file descriptor number
associated with the stream.)
-.sp
+.PP
Note that mixing use of
.IR FILE s
and raw file descriptors can produce
@@ -87,7 +87,7 @@ This means for example, that after an
.BR exec (3),
the child inherits all open file descriptors, but all old streams
have become inaccessible.
-.sp
+.PP
Since the symbols
.IR stdin ,
.IR stdout ,