Guardian Procedure Calls Reference Manual
program-file:maxlen
output:input
STRING .EXT:ref:*, INT:value
if present and maxlen is not 0, returns the fully qualified Guardian program file name of the
specified process. maxlen specifies the length in bytes of the string variable program-file.
program-len
output
INT .EXT:ref:1
contains the actual length in bytes of the program file name being returned.
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, see the
Kernel-Managed Swap Facility (KMSF) Manual.
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 Returned Value.
proc-type
output
INT .EXT:ref:1
returns the process type. The bits are defined as follows:
(reserved)<0:14>
Process is a Guardian process.0<15>
Process is an OSS process.1
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).
1008 Guardian Procedure Calls (P)










