Open System Services System Calls Reference Manual (G06.25+, H06.03+)
System Functions (t) tdm_spawn(2)
• The pointers contained within the global variable environ
• The elements pointed to by environ pointers
• The effective user ID of the current process
• The effective group ID of the current process
[E2BIG] The number of bytes used by the new process image’s argument list and environ-
ment list is greater than the system-imposed limit. The limit can be obtained by
calling the sysconf(_SC_ARG_MAX)
function.
[EACCES] One of these conditions exists:
• Search permission is denied for the directory components of the path-
name prefix to the process image file.
• The new process image file, any library file, or script file denies execu-
tion permission.
• Create access on the extended swap file on a disk under Safeguard pro-
tection is denied.
This error occurs only for G-series TNS or accelerated new process
image files.
• The new process image file is not a regular file.
[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 file 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 file is a binary executable file with invalid attri-
butes.
[EIO] Some physical input or output error has occurred. Either a file 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 file of a loaded program
or library, or during data transfer with a Guardian environment home terminal.
527186-003 Hewlett-Packard Company 8−53