diff options
Diffstat (limited to 'src/lib/libc/stdlib/system.3')
| -rw-r--r-- | src/lib/libc/stdlib/system.3 | 16 | 
1 files changed, 8 insertions, 8 deletions
diff --git a/src/lib/libc/stdlib/system.3 b/src/lib/libc/stdlib/system.3 index 985adb07de..f2d2693677 100644 --- a/src/lib/libc/stdlib/system.3 +++ b/src/lib/libc/stdlib/system.3  | |||
| @@ -33,7 +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 | .\" $OpenBSD: system.3,v 1.5 1996/12/11 23:09:53 tholo Exp $ | 36 | .\" $OpenBSD: system.3,v 1.6 1999/06/29 18:36:24 aaron Exp $ | 
| 37 | .\" | 37 | .\" | 
| 38 | .Dd June 29, 1991 | 38 | .Dd June 29, 1991 | 
| 39 | .Dt SYSTEM 3 | 39 | .Dt SYSTEM 3 | 
| @@ -70,18 +70,18 @@ pointer, | |||
| 70 | will return non-zero. | 70 | will return non-zero. | 
| 71 | Otherwise, | 71 | Otherwise, | 
| 72 | .Fn system | 72 | .Fn system | 
| 73 | 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 | 
| 74 | .Xr waitpid 2 . | 74 | .Xr waitpid 2 . | 
| 75 | .Sh RETURN VALUES | 75 | .Sh RETURN VALUES | 
| 76 | 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 | 
| 77 | the shell cannot be obtained, | 77 | the shell cannot be obtained, | 
| 78 | .Fn system | 78 | .Fn system | 
| 79 | returns -1 and sets | 79 | returns \-1 and sets | 
| 80 | .Va errno | 80 | .Va errno | 
| 81 | to indicate the error. | 81 | to indicate the error. | 
| 82 | If execution of the shell fails, | 82 | If execution of the shell fails, | 
| 83 | .Fn system | 83 | .Fn system | 
| 84 | returns the termination status for a program that terminates with a call of | 84 | returns the termination status for a program that terminates with a call of | 
| 85 | .Fn exit 127 . | 85 | .Fn exit 127 . | 
| 86 | .Sh SEE ALSO | 86 | .Sh SEE ALSO | 
| 87 | .Xr sh 1 , | 87 | .Xr sh 1 , | 
| @@ -93,6 +93,6 @@ The | |||
| 93 | .Fn system | 93 | .Fn system | 
| 94 | function | 94 | function | 
| 95 | conforms to | 95 | conforms to | 
| 96 | .St -ansiC | 96 | .St -ansiC | 
| 97 | and | 97 | and | 
| 98 | .St -p1003.2-92 . | 98 | .St -p1003.2-92 . | 
