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

tdm_fork(2) OSS System Calls Reference Manual
The following 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;
The input structure passes the following information:
pe_len Species the size of the structure in bytes. This value is set by #dene
DEFAULT_PROCESS_EXTENSION and should not be changed.
pe_library_name
Is not used with the tdm_fork() function.
pe_swap_file_name
Points to a null-terminated string specifying the name of a le in the Guardian
le system to be used as the swap le for the stack segment. For example, if the
Guardian lename is $A.B.C, then the name used here is /G/a/b/c.
This eld is not used in the current release of Open System Services. It exists for
compatibility with older releases. Any specied value is checked for validity but
otherwise ignored.
pe_extswap_file_name
Points to a null-terminated string specifying the name of a disk le in the Guar-
dian le system to be used as the swap le for the extended data segment. For
example, if the Guardian lename is $A.B.D, then the name used here is
/G/a/b/d.
This eld is used only for G-series TNS or accelerated child processes. If a
value is specied for this eld for native object les, the specied value is vali-
dated but otherwise ignored.
By default, the new process uses KMSF to manage its extended swap segment.
HP recommends using the default.
834 Hewlett-Packard Company 527186-003