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

System Functions (e) execvp(2)
The new process image le, any library le, or script le denies execu-
tion permission.
The new process image le is not a regular le.
[EAGAIN] System resources such as disk space, process control block (PCB) space, MAP-
POOL space, stack space, or PFS space are temporarily inadequate.
[EFAULT] An input address parameter is outside valid bounds limits.
[EINVAL] The new process image le is a binary executable le with invalid attributes.
[ELOOP] Too many symbolic links were encountered in pathname resolution.
[EMFILE] The maximum number of les is open. The process attempted to open more than
the maximum number of le descriptors allowed for the process. The process
le segment (PFS) of the new process might be smaller than that of the calling
process.
[ENAMETOOLONG]
One of the following is too long:
The intermediate result of pathname resolution when a symbolic link is
part of the value specied by the le 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] The le 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. The
/bin/sh command interpreter could not be invoked as a substitute.
[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), 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).
527186-003 Hewlett-Packard Company 249