diff options
Diffstat (limited to 'usr/src/man/man3c')
-rw-r--r-- | usr/src/man/man3c/popen.3c | 14 | ||||
-rw-r--r-- | usr/src/man/man3c/system.3c | 3 |
2 files changed, 4 insertions, 13 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 diff --git a/usr/src/man/man3c/system.3c b/usr/src/man/man3c/system.3c index 11812da3f8..f6404ba0bf 100644 --- a/usr/src/man/man3c/system.3c +++ b/usr/src/man/man3c/system.3c @@ -31,8 +31,7 @@ the shell in the format specified by \fBwaitpid\fR(3C). .LP If \fIstring\fR is a null pointer, \fBsystem()\fR checks if the shell exists and is executable. If the shell is available, \fBsystem()\fR returns a -non-zero value; otherwise, it returns \fB0\fR. The standard to which the -caller conforms determines which shell is used. See \fBstandards\fR(5). +non-zero value; otherwise, it returns \fB0\fR. .sp .LP The \fBsystem()\fR function sets the \fBSIGINT\fR and \fBSIGQUIT\fR signals to |