Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (P)
Guardian Procedure Calls Reference Manual—522629-013
12-135
PROCESS_LAUNCH_ Procedure
In the C zsysc file, the structure for the param-list parameter is defined as:
Note that in the C
zsysc file, the type zsys_ddl_char_extaddr_def is defined as
long. The type char_far* is the equivalent to the type
zsys_ddl_char_extaddr_def
in DLAUNCHH. Therefore, do not use the structure definition from
zsysc and the
default structure value from DLAUNCHH.
C programs should initialize the P_L_DEFAULT_PARMS_ define in the
$SYSTEM.SYSTEM.DLAUNCHH header file.
#pragma fieldalign shared2 __zsys_ddl_plaunch_parms
typedef struct __zsys_ddl_plaunch_parms
{
short z_version;
short z_length;
zsys_ddl_char_extaddr_def z_program_name;
long z_program_name_len;
zsys_ddl_char_extaddr_def z_library_name;
long z_library_name_len;
zsys_ddl_char_extaddr_def z_swapfile_name;
long z_swapfile_name_len;
zsys_ddl_char_extaddr_def z_extswapfile_name;
long z_extswapfile_name_len;
zsys_ddl_char_extaddr_def z_process_name;
long z_process_name_len;
zsys_ddl_char_extaddr_def z_hometerm_name;
long z_hometerm_name_len;
zsys_ddl_char_extaddr_def z_defines_name;
long z_defines_name_len;
long z_nowait_tag;
long z_pfs_size;
long z_mainstack_max;
long z_heap_max;
long z_space_guarantee;
long z_create_options;
short z_name_options;
short z_debug_options;
short z_priority;
short z_cpu;
short z_memory_pages;
short z_jobid;
} zsys_ddl_plaunch_parms_def;