Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (P)
Guardian Procedure Calls Reference Manual522629-013
12-65
PROCESS_GETINFO_ Procedure
swap-file:maxlen output:input
STRING .EXT:ref:*, INT:value
returns $
volume.#0. Processes do not swap to $volume.#0; they swap to a swap
file managed by the Kernel-Managed Swap Facility. For more information on this
facility, refer to the
Kernel-Managed Swap Facility (KMSF) Manual.
For TNS processes on RVUs preceding the D42 RVU,
swap-file returns the
internal-format file name of the swap file for the process’s data segment. This is
often the name of a temporary file unless a specific swap file is supplied at run
time. It can also indicate the current swap volume.
maxlen specifies the length in bytes of the string variable swap-file.
swap-len output
INT .EXT:ref:1
contains the actual length in bytes of the value returned in
swap-file.
error-detail output
INT .EXT:ref:1
for some returned errors, contains additional information. See
error.
proc-type output
INT .EXT:ref:1
returns the process type. The bits are defined as follows:
<0:14> (reserved)
<15> 0 Process is a Guardian process.
1 Process is an OSS process.
oss-pid output
INT(32) .EXT:ref:1
returns the OSS process ID of an OSS process; otherwise, it returns the null OSS
process ID (the null OSS process ID is obtained by calling the OSS_PID_NULL_
procedure).