1SYSTEM(3F)                                                          SYSTEM(3F)
2
3
4

NAME

6       system - execute a UNIX command
7

SYNOPSIS

9       integer function system (string)
10       character*(*) string
11

DESCRIPTION

13       System  causes  string  to  be  given  to your shell as input as if the
14       string had been typed as a command.  If environment variable  SHELL  is
15       found,  its value will be used as the command interpreter (shell); oth‐
16       erwise sh(1) is used.
17
18       The current process waits until the command terminates.   The  returned
19       value  will be the exit status of the shell.  See wait(2) for an expla‐
20       nation of this value.
21

FILES

23       /usr/lib/libU77.a
24

SEE ALSO

26       exec(2), wait(2), system(3)
27

BUGS

29       String can not be longer  than  NCARGS-50  characters,  as  defined  in
30       <sys/param.h>.
31
32
33
344.2 Berkeley Distribution        May 15, 1985                       SYSTEM(3F)
Impressum