Open System Services System Calls Reference Manual (G06.25+, H06.03+)
System Functions (t) tdm_execvep(2)
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 release version update (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;
The input structure passes this information:
pe_len Specifies the size of the structure in bytes. This value is set by the #define
DEFAULT_PROCESS_EXTENSION and should not be changed.
pe_library_name
Points to the name of the user library to be bound to the new process. The string
that is pointed to is null-terminated and in OSS name format. If the pointer
points to a zero-length string (a NULL character), the new process runs with no
user library. An equivalent call to the Guardian PROCESS_LAUNCH_ pro-
cedure does this by setting the library filename length to -1.
This field is used only for G-series TNS or accelerated new process image files.
If a value is specified for this field for native object files, the specified value is
ignored.
pe_swap_file_name
Points to a null-terminated string specifying the name of a file in the Guardian
file system to be used as the swap file for the stack segment. For example, if the
Guardian file name is $A.B.C, the name used is /G/a/b/c.
This file cannot have the same name as that of a file used in a preceding call to
the tdm_fork() function.
This field is not used in the current RVU of Open System Services. It exists for
compatibility with older RVUs. Any specified value is checked for validity but
otherwise ignored.
527186-003 Hewlett-Packard Company 8−23