diff options
Diffstat (limited to 'src/lib/libc/stdlib/system.3')
-rw-r--r-- | src/lib/libc/stdlib/system.3 | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/lib/libc/stdlib/system.3 b/src/lib/libc/stdlib/system.3 index 520f51db0a..985adb07de 100644 --- a/src/lib/libc/stdlib/system.3 +++ b/src/lib/libc/stdlib/system.3 | |||
@@ -33,8 +33,7 @@ | |||
33 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 33 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
34 | .\" SUCH DAMAGE. | 34 | .\" SUCH DAMAGE. |
35 | .\" | 35 | .\" |
36 | .\" from: @(#)system.3 6.5 (Berkeley) 6/29/91 | 36 | .\" $OpenBSD: system.3,v 1.5 1996/12/11 23:09:53 tholo Exp $ |
37 | .\" $Id: system.3,v 1.1.1.1 1995/10/18 08:42:20 deraadt Exp $ | ||
38 | .\" | 37 | .\" |
39 | .Dd June 29, 1991 | 38 | .Dd June 29, 1991 |
40 | .Dt SYSTEM 3 | 39 | .Dt SYSTEM 3 |
@@ -72,7 +71,7 @@ will return non-zero. | |||
72 | Otherwise, | 71 | Otherwise, |
73 | .Fn system | 72 | .Fn system |
74 | returns the termination status of the shell in the format specified by | 73 | returns the termination status of the shell in the format specified by |
75 | .Xr waitpid 3 . | 74 | .Xr waitpid 2 . |
76 | .Sh RETURN VALUES | 75 | .Sh RETURN VALUES |
77 | If a child process cannot be created, or the termination status of | 76 | If a child process cannot be created, or the termination status of |
78 | the shell cannot be obtained, | 77 | the shell cannot be obtained, |
@@ -87,8 +86,8 @@ returns the termination status for a program that terminates with a call of | |||
87 | .Sh SEE ALSO | 86 | .Sh SEE ALSO |
88 | .Xr sh 1 , | 87 | .Xr sh 1 , |
89 | .Xr execve 2 , | 88 | .Xr execve 2 , |
90 | .Xr popen 3 , | 89 | .Xr waitpid 2 , |
91 | .Xr waitpid 3 , | 90 | .Xr popen 3 |
92 | .Sh STANDARDS | 91 | .Sh STANDARDS |
93 | The | 92 | The |
94 | .Fn system | 93 | .Fn system |
@@ -96,4 +95,4 @@ function | |||
96 | conforms to | 95 | conforms to |
97 | .St -ansiC | 96 | .St -ansiC |
98 | and | 97 | and |
99 | .St -1003.2-92 . | 98 | .St -p1003.2-92 . |