.\" 2. Redistributions in binary form must reproduce the above copyright
.\" notice, this list of conditions and the following disclaimer in the
.\" documentation and/or other materials provided with the distribution.
-.\" 3. All advertising materials mentioning features or use of this software
-.\" must display the following acknowledgement:
-.\" This product includes software developed by the University of
-.\" California, Berkeley and its contributors.
.\" 4. Neither the name of the University nor the names of its contributors
.\" may be used to endorse or promote products derived from this software
.\" without specific prior written permission.
.\" SUCH DAMAGE.
.\"
.\" @(#)system.3 8.1 (Berkeley) 6/4/93
-.\" $FreeBSD: src/lib/libc/stdlib/system.3,v 1.11 2002/05/27 03:45:27 dd Exp $
+.\" $FreeBSD: src/lib/libc/stdlib/system.3,v 1.13 2008/06/26 08:24:59 danger Exp $
.\"
.Dd June 4, 1993
.Dt SYSTEM 3
.Sh SYNOPSIS
.In stdlib.h
.Ft int
-.Fn system "const char *string"
+.Fn system "const char *command"
.Sh DESCRIPTION
The
.Fn system
function
hands the argument
-.Fa string
+.Fa command
to the command interpreter
.Xr sh 1 .
The calling process waits for the shell
.Dv SIGCHLD .
.Pp
If
-.Fa string
+.Fa command
is a
.Dv NULL
pointer,
will return non-zero if the command interpreter
.Xr sh 1
is available, and zero if it is not.
-.Pp
+.Sh RETURN VALUES
The
.Fn system
function