Open System Services System Calls Reference Manual (G06.29+, H06.08+, J06.03+)

System Functions (t) tdm_spawnp(2)
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;
#endif /* !defined (__LP64) && !defined (_PROCEX32_64BIT) */
When an application is compiled in 64-bit compile mode or compiled using the #define
_PROCEX32_64BIT 1 feature test macro or an equivalent compiler command option, the appli-
cation will use the version of the process_extension structure that contains 64-bit data types.
The _PROCEX32_64BIT flag is only required if a 32-bit process must specify larger 64-bit
values for pe_mainstack_max, pe_heap_max, and pe_space_guaranter. These larger data
types are optional when creating a 64-bit process.
Note: The input structure supports two versions: one that contains 64-bit data types and
one that contains 32-bit data types. Because the order in which the fields appear in
this structure varies significantly based on the version in use, the field definitions
below are defined alphabetically instead of sequentially.
The input structure passes this information:
pe_cpu Specifies the processor on which the new process will execute. The OSS process
ID (PID) of the process remains unchanged. This field is used to distribute sys-
tem load.
pe_create_options
Specifies process creation options as:
_TPC_BOTH_DEFINES
Propagates the current DEFINEs and the DEFINEs indicated in
the input structure.
_TPC_ENABLE_DEFINES
Enables DEFINEs when set if
_TPC_OVERRIDE_DEFMODE is also set. Disables
DEFINEs when not set.
527186-023 Hewlett-Packard Company 869