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

System Functions (t) tdm_spawnp(2)
The input structure passes this information:
pe_len Species the size of the structure in bytes. This value is set by the #dene
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 le. An equivalent call to the Guardian PROCESS_LAUNCH_ pro-
cedure does this by setting the library lename length to -1.
This eld is used only for G-series TNS or accelerated new process image les.
If a value is specied for this eld for native object les, the specied value is
ignored.
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, the name used is /G/a/b/c.
This eld is not used in the current RVU of Open System Services. It exists for
compatibility with older RVUs. 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, the name used is /G/a/b/d.
This eld is used only for G-series TNS or accelerated new process image les.
If a value is specied for this eld for native object les, the specied 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 Species the priority of the new process.
pe_cpu Species the processor on which the new process will execute. The OSS process
ID (PID) of the process remains unchanged. This eld is used to distribute sys-
tem load.
pe_name_options
Species 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 eld.
_TPC_NO_NAME
The new process is unnamed.
527186-003 Hewlett-Packard Company 865