Open System Services System Calls Reference Manual (G06.29+, H06.08+, J06.03+)
execvp(2) OSS System Calls Reference Manual
[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 insufficient primary memory (stack, globals,
or heap) for the new process.
[ENOTDIR] A component of the path prefix of the new process image file 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.
[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: eld(1), ld(1), nld(1).
Functions: alarm(3), _exit(2), execl(2), execle(2), execlp(2), execv(2), execve(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 execvp() 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.
2−50 Hewlett-Packard Company 527186-023