Open System Services System Calls Reference Manual (G06.29+, H06.08+, J06.03+)
tdm_spawnp(2) OSS System Calls Reference Manual
ERRORS
If any of the following conditions occurs, the tdm_spawnp() function sets errno to the
corresponding value, file descriptors marked close-on-exec are not closed, signals set to be
caught are not set to the default action, and none of these are changed:
• The argv[] array of pointers
• The envp[ ] array of pointers
• The elements pointed to by these arrays
• The value of the global variable environ
• 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.
8−74 Hewlett-Packard Company 527186-023