

execl()                COHERENT System Call               execl()




Execute a load module

eexxeeccll(_f_i_l_e, _a_r_g_1, ..., _a_r_g_n, NNUULLLL)
cchhaarr *_f_i_l_e, *_a_r_g_1, ..., *_a_r_g_n;

The  COHERENT  system  includes six  system  calls  that allow  a
process to execute  another executable file.  execl specifies ar-
guments   individually,  as   a  NULL-terminated   list   of  arg
parameters.  For  more information on file  execution, see execu-
tion.

***** See Also *****

COHERENT system calls, execution, getuid()

***** Diagnostics *****

execl does  not return if successful.  It  returns -1 for errors,
such as file  being nonexistent, not accessible with execute per-
mission, having a bad format, or too large to fit in memory.




































COHERENT Lexicon                                           Page 1


