Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (P)
Guardian Procedure Calls Reference Manual522629-013
12-63
PROCESS_GETINFO_ Procedure
proc-fname:maxlen output:input
STRING .EXT:ref:*, INT:value
if present and
maxlen is not 0, returns the process file name of the target process.
Normally, this value is a process descriptor. However, if the specified process is an
I/O process (that is, a process that controls a device or volume), the returned value
is the fully qualified device or volume name.
maxlen is the length in bytes of the string variable proc-fname.
proc-fname-len output
INT .EXT:ref:1
contains the actual length of the process file name being returned.
priority output
INT .EXT:ref:1
returns the current execution priority of the specified process. The initial priority
can be obtained by calling PROCESS_GETINFOLIST_.
mom's-processhandle output
INT .EXT:ref:10
returns the process handle of the mom of the specified process.
hometerm:maxlen output:input
STRING .EXT:ref:*, INT:value
if present and
maxlen is not 0, returns the fully qualified file name of the home
terminal of the specified process.
maxlen specifies the length in bytes of the
string variable
hometerm.
hometerm-len output
INT .EXT:ref:1
contains the actual length in bytes of the value returned in
hometerm.
process-time output
FIXED .EXT:ref:1
returns the execution time, in microseconds, of the specified process. This value
includes processor time consumed by the application code of the process plus
processor time consumed by Guardian procedures called.