eexxeeccllee() -- General Function (libc) (libc)

Execute a load module
#iinncclluuddee <uunniissttdd.hh>
eexxeeccllee(_f_i_l_e, _a_r_g_0, _a_r_g_1, ..., _a_r_g_n, NNUULLLL, _e_n_v)
cchhaarr *_f_i_l_e, *_a_r_g_0, *_a_r_g_1, ..., *_a_r_g_n, cchhaarr *_e_n_v[];

The function eexxeeccllee() calls the  COHERENT system call eexxeeccvvee() to execute a
program.  It  first initializes the new  stack of the process  to contain a
list  of  strings  that  are  command  arguments.  It  specifies  arguments
individually, as  a NULL-terminated list  of _a_r_g parameters.   The argument
_e_n_v_p  points  to  an  array  of  pointers to  strings  that  define  _f_i_l_e's
environment.  For  more information on program  execution and environments,
see eexxeeccuuttiioonn.

_S_e_e _A_l_s_o
eennvviirroonn, eexxeeccuuttiioonn, eexxeeccvvee(), lliibbcc, uunniissttdd.hh
POSIX Standard, section 3.1.2

_D_i_a_g_n_o_s_t_i_c_s
eexxeeccllee() does not return if successful.   It returns -1 for errors, such as
_f_i_l_e being  nonexistent, not accessible  with execute permission,  having a
bad format, or being too large to fit into memory.
