.\" Copyright (c) 1990 The Regents of the University of California.
.\" %sccs.include.redist.man%
.\" @(#)system.3 6.3 (Berkeley) %G%
system \- issue a shell command
system(const char *string);
to the command interpreter
The calling process waits until the shell has completed,
ignoring SIGINT and SIGQUIT, and blocking SIGCHLD.
will return non-zero if the command interpreter
is available, and zero if it is not.
returns the exit status of the shell, or \-1 if the
A return status of 127 indicates that the execution of the shell
sh(1), execve(2), wait(2), popen(3)
conforms to ANSI X3.159-1989 (``ANSI C'').