Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (P)
Guardian Procedure Calls Reference Manual522629-013
12-170
PROCESS_SPAWN_ Procedure
includes the pointers and the null terminators on the strings, is available by calling
the OSS sysconf(_SC_ARG_MAX) function.
envp input
EXTADDR .EXT:ref:1
if present and not equal to 0D, specifies the address of an array of addresses that
point to null-terminated strings that describe the environment of the new process.
The last member of this array must be a null pointer (0D). The environment (
envp)
string is passed to the child unmodified by the PROCESS_SPAWN_ procedure.
Most programs expect these strings to have the following syntax:
name = value
The number of bytes available for the new process’s combined argument (argv)
and environment (
envp) lists has a system-imposed limit. This limit, which
includes the pointers and the null terminators on the strings, is available by calling
the OSS sysconf(_SC_ARG_MAX) function.
inheritance input
STRING .EXT:ref:(ZSYS^DDL^INHERITANCE)
if
inheritance-length is not zero, specifies which signals are either blocked or
use default action for the new process. For information on how to assign field
values to the structure, see “Structure Definition for
inheritance.”
inheritance-length input
INT(32):value
specifies the length in bytes of
inheritance. This parameter is required if
inheritance is specified.
process-extension input
STRING .EXT:ref:(ZSYS^DDL^PROCESSEXTENSION)
specifies the Guardian attributes of the new process. For information on how to
set the field values of the structure, see “Structure Definition for
process-extension.”
process-results input:output
STRING .EXT:ref:(ZSYS^DDL^PROCESSRESULTS)
provides Guardian information on the outcome of the procedure call. For
information on the field values of the structure, see “Structure Definition for
process-results.”
The tdmext.h
header file is not kept current when new error codes are defined for
process creation