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

System Functions (t) tdm_spawnp(2)
[ENOENT] One of these conditions exists:
One or more components of the new process image les pathname do
not exist.
The le parameter points to an empty string.
[ENOEXEC] The command interpreter could not be invoked following failure to execute the
process image le identied by the le 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 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. The
tdm_spawnp() function cannot
be used from the Guardian environment.
[EPERM] The value of the inherit->pgroup eld does not match any process group ID in
the same session as the calling process.
[ETXTBSY] The new process image le is a pure procedure (shared text) le 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-dened 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 specication.
527186-003 Hewlett-Packard Company 871