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

tdm_spawnp(2) OSS System Calls Reference Manual
[EAGAIN] System resources such as disk space, process control block (PCB) space, MAP-
POOL space, stack space, or PFS space are temporarily inadequate.
[EBADF] A le descriptor pointed to by the fd_map[]parameter is invalid.
[EFAULT] An address for a parameter in the process_extension structure pointed to by
pe_parms is out of allowable bounds. The Guardian PROCESS_LAUNCH_
error and error detail information is returned in the structure pointed to by the
pr_results parameter, unless pr_results contains a null pointer.
[EHLDSEM] The process tried to create a child process in a different processor while having
at least one semadj value.
[EINVAL] One of these conditions exists:
An invalid parameter value was supplied in the process_extension
structure pointed to by pe_parms. The Guardian PROCESS_LAUNCH_
error and error detail information is returned in the structure pointed to
by the pr_results parameter, unless pr_results contains a null pointer.
The new process image le is a binary executable le with invalid attri-
butes.
[EIO] Some physical input or output error has occurred. Either a le cannot be opened
because of an input or output error or data has been lost during an input or output
transfer. This value is used only for errors on the object le of a loaded program
or library, or during data transfer with a Guardian environment home terminal.
[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 le parameter
A component of the pathname pointed to by the le parameter
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.
[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.
870 Hewlett-Packard Company 527186-003