File:  [MW Coherent from dump] / coherent / a / usr / man / COHERENT / execlp
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed May 29 04:56:34 2019 UTC (7 years ago) by root
Branches: MarkWilliams, MAIN
CVS tags: relic, HEAD
coherent



execlp()               COHERENT System Call              execlp()




Execute a load module

eexxeeccllpp(_f_i_l_e, _a_r_g_1, ..., _a_r_g_n, NNUULLLL)
cchhaarr *_f_i_l_e, *_a_r_g_1, ..., *_a_r_g_n;

The COHERENT  system includes six functions  that allow a process
to execute  another executable file.  execlp  initializes the new
stack of the  process to contain a list of  strings that are com-
mand arguments.  It  specifies arguments individually, as a NULL-
terminated list  of arg parameters.  Unlike  the related function
execl, execlp  searches for file in all  directories named in the
environmental variable PATH.  For more information on program ex-
ecution, see execution.

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

COHERENT system  calls, environ, execl(),  execle(), execv(), ex-
ecve(), execvp(), fork(), ioctl(), sh, signal(), stat()

***** Diagnostics *****

execlp does not return  if successful.  It returns -1 for errors,
such as  file not existing in the directories  named in PATH, not
accessible with  execute permission, having a  bad format, or too
large to fit in memory.































COHERENT Lexicon                                           Page 1



unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.