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

tdm_spawn(2) OSS System Calls Reference Manual
[ELOOP] Too many symbolic links were encountered in pathname resolution.
[EMFILE] The maximum number of les are open. The process attempted to open more
than the maximum number of le descriptors allowed for the process. One of
these conditions might exist:
The maximum value for fd_count has been exceeded.
The process le segment (PFS) of the child process is smaller than that
of the parent process.
[ENAMETOOLONG]
One of these is too long:
The pathname pointed to by the path parameter
A component of the pathname pointed to by the path parameter
The intermediate result of pathname resolution when a symbolic link is
part of the pathname pointed to by the path parameter
The pathconf( ) function can be called to obtain the applicable limits.
[ENOCPU] The selected processor does not exist, or the selected processor is down or other-
wise unavailable for process creation.
[ENODEV] The system cannot nd the leset containing the process image le.
[ENOENT] One of these conditions exists:
One or more components of the new process image les pathname do
not exist.
The path parameter points to an empty string.
[ENOEXEC] The new process image le has the appropriate access permissions and is in the
OSS name space, but it is neither in the correct binary executable format nor a
valid executable text le.
[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_spawn() 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.
854 Hewlett-Packard Company 527186-003