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

System Functions (t) tdm_fork(2)
_TPC_INSPECT_SAVEABEND
Uses the symbolic debugger and creates a saveabend le.
pe_pfs_size Species the size of the process le segment (PFS) for the child process (this
eld is ignored).
pe_OSS_options
Species OSS options. No special action on signals is the default and only
current OSS option.
pe_mainstack_max
Species the maximum size of the main stack in bytes for the child process.
If the parent process species a value, the value must be less than 32 megabytes.
If the parent process does not specify a value or species a 0 (zero) value, then
the value specied in the object le of the child process is used. If no value is
specied in the object le, then the default value of 1 megabyte is used.
pe_heap_max Species the maximum size of the heap in bytes for the child process if it is a
native process.
See the C/C++ Programmers Guide description of the HEAP pragma for gui-
dance on the use of nonzero values for this eld.
If a value is specied for this eld for G-series TNS or accelerated object les,
the specied value is ignored.
pe_space_guarantee
Species the minimum available swap space to guarantee for the child process.
If the parent process species a value, the value must be less than or equal to a
multiple of the page size of the processor in which the child process will run.
Values less than a multiple of the page size are rounded up to the next multiple
of the page size. If the parent process species a nonzero value, that value is |
used for the child process; otherwise, the child process inherits the space guaran- |
tee attribute of the parent process.
If the child process requires a guarantee of available swap space and the system
cannot guarantee the required amount, the function call fails and errno is set to
the value of value [EAGAIN].
If a value is specied for this eld for G-series TNS or accelerated object les,
the specied value is used for the main stack of the child process.
For detailed information about Guardian process attributes, see the PROCESS_LAUNCH_ pro-
cedure in the Guardian Procedure Calls Reference Manual.
Output Structure Information
If the pr_results parameter does not contain a null pointer, it points to an output structure dened
in the tdmext.h header le. This structure can contain elds that vary from release to release,
including reserved and ller elds.
First, the output structure must be initialized using the #dene
DEFAULT_PROCESS_EXTENSION_RESULTS. This initialization sets the value of the
pr_len eld to the correct value for the current release. The value of the pr_len eld should not
be modied after being set by #dene DEFAULT_PROCESS_EXTENSION_RESULTS.
The process_extension_results output structure is described in the
process_extension_results(5) reference page.
527186-003 Hewlett-Packard Company 837