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

tdm_spawnp(2) OSS System Calls Reference Manual
For unnamed processes, the MOM eld of the child process is NULL. For named
processes, the ancestor eld identies the parent.
System debugger selection for the new process is based on the INSPECT mode ag in
the program le.
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 #dene DEFAULT_PROCESS_EXTENSION
.
After the structure is initialized, the values can be set using literals that are dened in the
tdmext.h header le.
If any optional parameter specied in the structure pointed to by pe_parms is not passed, the new
process assumes the corresponding default value.
The input structure is dened in the tdmext.h header le. This structure can contain elds that
vary from release version update (RVU) to RVU, including reserved and ller elds.
In the current RVU, these elds are meaningful:
typedef struct process_extension {
long pe_len;
char *pe_library_name;
char *pe_swap_le_name;
char *pe_extswap_le_name;
short pe_priority;
short pe_cpu;
short pe_name_options;
char ller_1[2];
char *pe_process_name;
char *pe_hometerm;
short pe_memory_pages;
short pe_jobid;
short pe_create_options;
char ller_2[2];
char *pe_denes;
short pe_denes_len;
short pe_debug_options;
long pe_pfs_size;
short pe_OSS_options;
char ller_3[2];
long pe_mainstack_max;
long pe_heap_max;
long pe_space_guarantee;
} process_extension_def;
864 Hewlett-Packard Company 527186-003