SYSTEM(3F)
+U77 FORTRAN compile-line option required
NAME
system − execute a UNIX command
SYNOPSIS
INTEGER*4 function system (string)
character*(*) string
DESCRIPTION
System causes string to be given to your shell as input as if the string had been typed as a command. If environment variable SHELL is found, its value will be used as the command interpreter (shell); otherwise sh(1) is used.
The current process waits until the command terminates. A negative value is returned for an error or receipt of a signal, and errno is set to indicate the error. A non-negative return value is the exit status of the shell. See wait(2) for an explanation of this value.
FILES
/usr/lib/libU77.a
SEE ALSO
BUGS
String can not be longer than NCARGS−50 characters, as defined in <sys/param.h>.
Hewlett-Packard Company — HP-UX Release 9.0: June 1992