aboutsummaryrefslogtreecommitdiffstats
path: root/man3/popen.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/popen.3')
-rw-r--r--man3/popen.38
1 files changed, 5 insertions, 3 deletions
diff --git a/man3/popen.3 b/man3/popen.3
index 680b2a2f03..64b58178a3 100644
--- a/man3/popen.3
+++ b/man3/popen.3
@@ -88,7 +88,7 @@ The
.BR pclose ()
function waits for the associated process to terminate and returns the exit
status of the command as returned by
-.BR wait4 .
+.BR wait4 ().
.SH "RETURN VALUE"
The
.BR popen ()
@@ -109,7 +109,7 @@ function returns \-1 if
.\" is not associated with a ``popened'' command, if
.\".I stream
.\" already ``pclosed'', or if
-.B wait4
+.BR wait4 ()
returns an error, or some other error is detected.
.SH ERRORS
The
@@ -117,7 +117,9 @@ The
function does not set
.I errno
if memory allocation fails. If the underlying
-.BR fork() " or " pipe()
+.BR fork ()
+or
+.BR pipe ()
fails,
.I errno
is set appropriately. If the