Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ () — Coherent 3.1.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought


execlp()               COHERENT System Call              execlp()




Execute a load module

execlp(file, arg1, ..., argn, NULL)
char *file, *arg1, ..., *argn;

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


Typewritten Software • bear@typewritten.org • Edmonds, WA 98026