From 6a5408e613dc0b372f722907d6c0b18e99c182dd Mon Sep 17 00:00:00 2001 From: Richard Lowe Date: Tue, 29 Mar 2011 22:27:20 +0000 Subject: 850 system(3C) and similar could just use /bin/sh Reviewed by: Gordon Ross Reviewed by: John Sonnenschein Approved by: Garrett D'Amore --- usr/src/man/man3c/popen.3c | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'usr/src/man/man3c/popen.3c') 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 -- cgit v1.2.3