|
|
1.1 ! root 1: ! 2: ! 3: execle() COHERENT System Call execle() ! 4: ! 5: ! 6: ! 7: ! 8: Execute a load module ! 9: ! 10: eexxeeccllee(_f_i_l_e, _a_r_g_1, ..., _a_r_g_n, NNUULLLL, _e_n_v) ! 11: cchhaarr *_f_i_l_e, *_a_r_g_1, ..., *_a_r_g_n, cchhaarr *_e_n_v[]; ! 12: ! 13: The COHERENT system includes six functions that allow a process ! 14: to execute another executable file (or load module, as described ! 15: in the header l.out.h). execle initializes the new stack of the ! 16: process to contain a list of strings that are command arguments. ! 17: It specifies arguments individually, as a NULL-terminated list of ! 18: arg parameters. The argument envp points to an array of pointers ! 19: to strings that define file's environment. For more information ! 20: on program execution and environments, see execution. ! 21: ! 22: ***** See Also ***** ! 23: ! 24: COHERENT system calls, environ, execution ! 25: ! 26: ***** Diagnostics ***** ! 27: ! 28: execle does not return if successful. It returns -1 for errors, ! 29: such as file being nonexistent, not accessible with execute per- ! 30: mission, having a bad format, or being too large to fit into ! 31: memory. ! 32: ! 33: ! 34: ! 35: ! 36: ! 37: ! 38: ! 39: ! 40: ! 41: ! 42: ! 43: ! 44: ! 45: ! 46: ! 47: ! 48: ! 49: ! 50: ! 51: ! 52: ! 53: ! 54: ! 55: ! 56: ! 57: ! 58: ! 59: ! 60: ! 61: ! 62: ! 63: ! 64: COHERENT Lexicon Page 1 ! 65: ! 66:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.