|
|
1.1 ! root 1: ! 2: ! 3: execlp() COHERENT System Call execlp() ! 4: ! 5: ! 6: ! 7: ! 8: Execute a load module ! 9: ! 10: eexxeeccllpp(_f_i_l_e, _a_r_g_1, ..., _a_r_g_n, NNUULLLL) ! 11: cchhaarr *_f_i_l_e, *_a_r_g_1, ..., *_a_r_g_n; ! 12: ! 13: The COHERENT system includes six functions that allow a process ! 14: to execute another executable file. execlp initializes the new ! 15: stack of the process to contain a list of strings that are com- ! 16: mand arguments. It specifies arguments individually, as a NULL- ! 17: terminated list of arg parameters. Unlike the related function ! 18: execl, execlp searches for file in all directories named in the ! 19: environmental variable PATH. For more information on program ex- ! 20: ecution, see execution. ! 21: ! 22: ***** See Also ***** ! 23: ! 24: COHERENT system calls, environ, execl(), execle(), execv(), ex- ! 25: ecve(), execvp(), fork(), ioctl(), sh, signal(), stat() ! 26: ! 27: ***** Diagnostics ***** ! 28: ! 29: execlp does not return if successful. It returns -1 for errors, ! 30: such as file not existing in the directories named in PATH, not ! 31: accessible with execute permission, having a bad format, or too ! 32: large to fit in memory. ! 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.