Open System Services System Calls Reference Manual (G06.25+, H06.03+)

System Functions (e) execl(2)
The intermediate result of pathname resolution when a symbolic link is
part of the pathname pointed to by the path parameter
The pathconf( ) function can be called to obtain the applicable limits.
[ENODEV] The system cannot nd the device containing the leset containing the process
image le.
[ENOENT] One of the following conditions exists:
One or more components of the new process image les pathname do
not exist.
The path parameter points to an empty string.
[ENOEXEC] The new process image le has the appropriate access permissions, but it is nei-
ther in the correct binary executable format nor a valid executable text le.
[ENOMEM] Required resources are not available. Subsequent calls to the same function will
not succeed for the same reason.
Possible causes of this error include insufcient primary memory (stack, globals,
or heap) for the new process.
[ENOTDIR] A component of the path prex of the new process image le is not a directory.
[ENOTOSS] The calling process is not an OSS process. A function in the exec set of func-
tions cannot be called from the Guardian environment.
[ETXTBSY] The new process image le is currently open for writing by a process.
[EUNKNOWN]
Unknown error. An unrecognized or very obscure error occurred. If this error
occurs, follow site-dened procedures for reporting software problems to
HP.
RELATED INFORMATION
Commands: eld(1), ld(1), nld(1).
Functions: alarm(3), _exit(2), execle(2), execlp(2), execv(2), execve(2), execvp(2, fcntl(2),
fork(2), getenv(3), putenv(3), semget(2), sigaction(2), system(3), tdm_execve(2),
tdm_execvep(2), tdm_fork(2), tdm_spawn(2), tdm_spawnp(2), times(3), ulimit(3), umask(2).
Miscellaneous: environ(5).
STANDARDS CONFORMANCE
The POSIX standards leave some features to the implementing vendor to dene. The following
features are affected in the HP implementation:
Guardian attributes are associated with the new OSS process. See Guardian Attributes
under DESCRIPTION.
The contents of the st_atime eld following a failed function call in which the le was
found should not be depended upon for further processing.
The use of *env[]as a parameter in the call to main() is an
HP extension.
527186-003 Hewlett-Packard Company 29