Open System Services System Calls Reference Manual (G06.28+)
System Functions (t) tdm_spawnp(2)
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 is run with no
user library file. 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 filename is $A.B.C, the name used is /G/a/b/c.
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.
pe_extswap_file_name
Points to a null-terminated string specifying the name of a disk file in the Guar-
dian file system to be used as the swap file for the extended data segment. For
example, if the Guardian filename is $A.B.D, the name used is /G/a/b/d.
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
checked for validity but otherwise ignored.
By default, the new process uses KMSF to manage its extended swap segment.
HP recommends using the default.
pe_priority Specifies the priority of the new process.
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_name_options
Specifies process naming as follows:
_TPC_GENERATE_NAME
The system generates the name.
_TPC_NAME_SUPPLIED
The process name is indicated by the pe_process_name field.
_TPC_NO_NAME
The new process is unnamed.
527186-005 Hewlett-Packard Company 8−65