Open System Services System Calls Reference Manual (G06.29+, H06.08+, J06.03+)

execlp(2) OSS System Calls Reference Manual
[EPERM] One of the following conditions exist:
The calling process does not have appropriate privileges.
The program attempted an operation on a SEEP-protected fileset. Valid
for J06.15 and later J-series RVUs, and H06.26 and later H-series RVUs.
[ETXTBSY] The new process image file is currently open for writing by a process.
[EUNKNOWN]
Unknown error. An unrecognized or very obscure error occurred. If this error
occurs, follow site-defined procedures for reporting software problems to
HP.
RELATED INFORMATION
Commands: nld(1).
Functions: alarm(3), _exit(2), execl(2), execle(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 define. The following
features are affected in the HP implementation:
Guardian attributes are associated with the new OSS process. See Guardian Attributes
under DESCRIPTION.
[ENOENT] is returned in errno if the environment variable PATH is not defined when
the execlp() function is called.
The contents of the st_atime field following a failed function call in which the file 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.
The following are HP extensions to the XPG4 Version 2 specification:
Text files containing the #! interprete r_name [optional_string] header line can execute.
The [EINVAL], [EIO], [ENODEV], [ENOTOSS], and [EUNKNOWN] error values are
an HP extension.
226 Hewlett-Packard Company 527186-023