Open System Services System Calls Reference Manual (G06.25+, H06.03+)
tdm_spawnp(2) OSS System Calls Reference Manual
• For unnamed processes, the MOM field of the child process is NULL. For named
processes, the ancestor field identifies the parent.
• System debugger selection for the new process is based on the INSPECT mode flag in
the program file.
• Code breakpoints and memory breakpoints are not inherited.
For detailed information about Guardian process attributes, see the PROCESS_LAUNCH_ pro-
cedure in the Guardian Procedure Calls Reference Manual.
Setting Guardian Attributes
The input structure pointed to by the pe_parms parameter permits the setting of Guardian attri-
butes for the new process.
First, the input structure must be initialized to the default values (see Default Guardian Attri-
butes, earlier in this reference page) using the #define DEFAULT_PROCESS_EXTENSION
.
After the structure is initialized, the values can be set using literals that are defined in the
tdmext.h header file.
If any optional parameter specified in the structure pointed to by pe_parms is not passed, the new
process assumes the corresponding default value.
The input structure is defined in the tdmext.h header file. This structure can contain fields that
vary from release version update (RVU) to RVU, including reserved and filler fields.
In the current RVU, these fields are meaningful:
typedef struct process_extension {
long pe_len;
char *pe_library_name;
char *pe_swap_file_name;
char *pe_extswap_file_name;
short pe_priority;
short pe_cpu;
short pe_name_options;
char filler_1[2];
char *pe_process_name;
char *pe_hometerm;
short pe_memory_pages;
short pe_jobid;
short pe_create_options;
char filler_2[2];
char *pe_defines;
short pe_defines_len;
short pe_debug_options;
long pe_pfs_size;
short pe_OSS_options;
char filler_3[2];
long pe_mainstack_max;
long pe_heap_max;
long pe_space_guarantee;
} process_extension_def;
8−64 Hewlett-Packard Company 527186-003