SYSTEM(3F) 1985 SYSTEM(3F) 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 com- mand 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>. Printed 7/27/90 May 1