4.3BSD-Reno/share/man/cat3/system.0

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




SYSTEM(3)		      1990			SYSTEM(3)



NNAAMMEE
     system - issue a shell command

SSYYNNOOPPSSIISS
     ##iinncclluuddee <<ssttddlliibb..hh>>

     ssyysstteemm((ccoonnsstt cchhaarr **ssttrriinngg));;

DDEESSCCRRIIPPTTIIOONN
     _S_y_s_t_e_m hands _s_t_r_i_n_g to the command interpreter _s_h(1).  The
     calling process waits until the shell has completed, ignor-
     ing SIGINT and SIGQUIT, and blocking SIGCHLD.

     If _s_t_r_i_n_g is a NULL pointer, _s_y_s_t_e_m will return non-zero if
     the command interpreter _s_h(1) is available, and zero if it
     is not.

     _S_y_s_t_e_m returns the exit status of the shell, or -1 if the
     _w_a_i_t(3) for the shell failed.  A return status of 127 indi-
     cates that the execution of the shell failed.

SSEEEE AALLSSOO
     sh(1), execve(2), wait(2), popen(3)

SSTTAANNDDAARRDDSS
     SSyysstteemm conforms to ANSI X3.159-1989 (``ANSI C'').





























Printed 7/27/90                May				1