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

tdm_spawnp(2) OSS System Calls Reference Manual
The file parameter points to an empty string.
[ENOEXEC] The command interpreter could not be invoked following failure to execute the
process image file identified by the file parameter.
[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. The tdm_spawnp() function cannot
be used from the Guardian environment.
[EPERM] One of the following conditions exist:
The value of the inherit->pgroup eld does not match any process group
ID in the same session as the calling process.
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 a pure procedure (shared text) file that is currently
open for writing by some 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.
The structure pointed to by the pr_results parameter might contain additional Guardian
PROCESS_LAUNCH_ procedure error and error detail information if any of these errors occur:
[EACCES], [EAGAIN], [EFAULT], [EINVAL], [EIO], [ENOCPU], and [ENOEXEC].
RELATED INFORMATION
Commands: eld(1), ld(1), nld(1).
Functions: alarm(3), chmod(2), exec(2), _exit(2), exit(3), fcntl(2), fork(2), getenv(3),
putenv(3), semget(2), shmat(2), sigaction(2), system(3), tdm_execve(2), tdm_execvep(2),
tdm_fork(2), tdm_spawn(2), times(3), ulimit(2), umask(2).
Files: signal(4).
Miscellaneous: environ(5), process_extension_results(5).
STANDARDS CONFORMANCE
This function is an extension to the XPG4 Version 2 specification.
876 Hewlett-Packard Company 527186-023