.\" Modified Sat May 18 20:37:44 1996 by Martin Schulze (joey@linux.de)
.\" Modified 7 May 1998 by Joseph S. Myers (jsm28@cam.ac.uk)
.\"
-.TH POPEN 3 2010-02-03 "GNU" "Linux Programmer's Manual"
+.TH POPEN 3 2013-04-19 "GNU" "Linux Programmer's Manual"
.SH NAME
popen, pclose \- pipe stream to or from a process
.SH SYNOPSIS
command's standard output is the same as that of the process that called
.BR popen (),
unless this is altered by the command itself.
-Conversely, reading from a
-"popened" stream reads the command's standard output, and the command's
+Conversely, reading from
+the stream reads the command's standard output, and the command's
standard input is the same as that of the process that called
.BR popen ().
.PP
.\" already "pclose()d", or if
.BR wait4 (2)
returns an error, or some other error is detected.
+In the event of an error, these functions set
+.I errno
+to indicate the cause of the error.
.SH ERRORS
The
.BR popen ()
.BR fopen (3),
.BR stdio (3),
.BR system (3)
+.SH COLOPHON
+This page is part of release 3.79 of the Linux
+.I man-pages
+project.
+A description of the project,
+information about reporting bugs,
+and the latest version of this page,
+can be found at
+\%http://www.kernel.org/doc/man\-pages/.