summaryrefslogtreecommitdiff
path: root/usr/src/man/man3c/popen.3c
diff options
context:
space:
mode:
authorRichard Lowe <richlowe@richlowe.net>2011-03-29 22:27:20 +0000
committerRichard Lowe <richlowe@richlowe.net>2011-03-29 22:27:20 +0000
commit6a5408e613dc0b372f722907d6c0b18e99c182dd (patch)
treef24e10b65bbb95c9edb6363c7a526a999c5ad765 /usr/src/man/man3c/popen.3c
parent686c0471389a2f92c1e43b38e1b97771bee482ab (diff)
downloadillumos-joyent-6a5408e613dc0b372f722907d6c0b18e99c182dd.tar.gz
850 system(3C) and similar could just use /bin/sh
Reviewed by: Gordon Ross <gwr@nexenta.com> Reviewed by: John Sonnenschein <johns@joyent.com> Approved by: Garrett D'Amore <garrett@nexenta.com>
Diffstat (limited to 'usr/src/man/man3c/popen.3c')
-rw-r--r--usr/src/man/man3c/popen.3c14
1 files changed, 3 insertions, 11 deletions
diff --git a/usr/src/man/man3c/popen.3c b/usr/src/man/man3c/popen.3c
index ade577bfce..ebf8b88262 100644
--- a/usr/src/man/man3c/popen.3c
+++ b/usr/src/man/man3c/popen.3c
@@ -43,19 +43,11 @@ argument as described in \fBfopen\fR(3C) to enable extended FILE facility.
.sp
.LP
The environment of the executed command will be as if a child process were
-created within the \fBpopen()\fR call using \fBfork\fR(2). If the application
-is standard-conforming (see \fBstandards\fR(5)), the child is created as if
-invoked with the call:
+created within the \fBpopen()\fR call using \fBfork\fR(2). The child is
+created as if invoked with the call:
.sp
.LP
-\fBexecl("/usr/xpg4/bin/sh", "sh", "\fR\fB-c\fR\fB",\fR\fIcommand\fR, \fB(char
-*)0);\fR
-.sp
-.LP
-otherwise, the child is created as if invoked with the call:
-.sp
-.LP
-\fBexecl("/usr/bin/sh", "sh", "\fR\fB-c\fR\fB",\fR\fIcommand\fR, \fB(char
+\fBexecl("/usr/bin/sh", "sh", "\fR\fB-c\fR\fB", \fR\fIcommand\fR, \fB(char
*)0);\fR
.sp
.LP