4.4BSD/usr/share/man/cat3f/system.0

Compare this file to the similar file:
Show the results in this format:

F>=1  .if 3F<=8 .    if 3F>1 .if 3F<6 .ds an-extra3 "BSD Program-



SYSTEM(3F)             BSD Reference Manual            SYSTEM(3F)

mer's Manual
NNAAMMEE
       system - execute a UNIX command

SSYYNNOOPPSSIISS
       iinntteeggeerr ffuunnccttiioonn ssyysstteemm ((ssttrriinngg))
       cchhaarraacctteerr**((**)) ssttrriinngg

DDEESSCCRRIIPPTTIIOONN
       _S_y_s_t_e_m causes _s_t_r_i_n_g to be given to your shell as input as
       if the string had been typed as a command.  If environment
       variable SSHHEELLLL is found, its value will  be  used  as  the
       command interpreter (shell); otherwise _s_h(1) is used.

       The  current  process  waits until the command terminates.
       The returned value will be the exit status of  the  shell.
       See _w_a_i_t(2) for an explanation of this value.

FFIILLEESS
       /usr/lib/libU77.a

SSEEEE AALLSSOO
       exec(2), wait(2), system(3)

BBUUGGSS
       _S_t_r_i_n_g  can  not  be  longer than NCARGS-50 characters, as
       defined in <_s_y_s_/_p_a_r_a_m_._h>.



























4.2 Berkeley Distribution  June 5, 1993                         1