Guardian Procedure Calls Reference Manual

Default ValueField Name
ZSYS^VAL^PCREATOPT^NONAMEZ^NAMEOPTIONS
ZSYS^VAL^PCREATOPT^DEFAULTZ^CREATEOPTIONS
ZSYS^VAL^PCREATOPT^DEFAULTZ^DEBUGOPTIONS
ZSYS^VAL^PSPAWNOPT^DEFAULTZ^OSSOPTIONS
In the C tdmext.h header file, the structure for the process-extension parameter is defined
as:
#if defined (__LP64) || defined (_PROCEX32_64BIT)
typedef struct process_extension {
short pe_ver;
short pe_len;
int pe_pfs_size;
long long pe_mainstack_max;
long long pe_heap_max;
long long pe_space_guarantee;
char _ptr64 *pe_library_name;
char _ptr64 *pe_swap_file_name;
char _ptr64 *pe_extswap_file_name;
char _ptr64 *pe_process_name;
char _ptr64 *pe_hometerm;
char _ptr64 *pe_defines;
short pe_defines_len;
short pe_priority;
short pe_cpu;
short pe_memory_pages;
short pe_jobid;
short pe_name_options;
short pe_create_options;
short pe_debug_options;
short pe_OSS_options;
char filler_1[6];
} process_extension_def;
#else /* !defined(__LP64) && !defined (_PROCEX32_64BIT) */
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_jobid;
short pe_create_options;
char filler_2[2];
char *pe_defines;
short pe_defines_len;
short pe_name_options;
char filler_1[2];
char *pe_process_name;
char *pe_hometerm;
short pe_memory_pages;
short pe_debug_options;
long pe_pfs_size;
short pe_OSS_options;
char filler_3[2];
When an application is using the #define _PROCEX32_64BIT 1 feature test macro, or an equivalent
compiler command option, the application will have a new version of the process_extension
structure that contains 64-bit data types. The _PROCEX32_64BIT flag is only needed if a 32-bit
process needs to specify larger 64-bit values for pe_mainstack_max, pe_heap_max, and
pe_space_guarantee. These larger data types are optionally used when creating a 64-bit process.
C programs must initialize the process_extension structure by using the #define
DEFAULT_PROCESS_EXTENSION in the tdmext.h header file.
PROCESS_SPAWN_ Procedure 1107