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 file.
pe_pfs_size Specifies the size of the process file segment (PFS) for the child process (this
field is ignored).
pe_OSS_options
Specifies OSS options. No special action on signals is the default and only
current OSS option.
pe_mainstack_max
Specifies the maximum size of the main stack in bytes for the child process.
If the parent process specifies a value, the value must be less than 32 megabytes.
If the parent process does not specify a value or specifies a 0 (zero) value, then
the value specified in the object file of the child process is used. If no value is
specified in the object file, then the default value of 1 megabyte is used.
pe_heap_max Specifies the maximum size of the heap in bytes for the child process if it is a
native process.
See the C/C++ Programmer’s Guide description of the HEAP pragma for gui-
dance on the use of nonzero values for this field.
If a value is specified for this field for G-series TNS or accelerated object files,
the specified value is ignored.
pe_space_guarantee
Specifies the minimum available swap space to guarantee for the child process.
If the parent process specifies 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 specifies 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 specified for this field for G-series TNS or accelerated object files,
the specified 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 defined
in the tdmext.h header file. This structure can contain fields that vary from release to release,
including reserved and filler fields.
First, the output structure must be initialized using the #define
DEFAULT_PROCESS_EXTENSION_RESULTS. This initialization sets the value of the
pr_len field to the correct value for the current release. The value of the pr_len field should not
be modified after being set by #define 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 8−37