MPE/iX Intrinsics Reference Manual (32650-90875)
578 Chapter9
Command Definitions (MAIL-PUTJCW)
PROCINFO
PROCINFO
NM and CM callable.
Provides access to process information.
Syntax
I16 I16 I16V
PROCINFO(
infoerror1,infoerror2,pin
I16V *
[,
itemnum1,item1
] [...] [,itemnum6,item6]);
NOTE
You can specify up to six
itemnum,item
pairs.
Parameters
error1
16-bit signed integer by reference (required)
Returns a value indicating the success or failure of the intrinsic call. Refer
to Table 9-1..
error2
16-bit signed integer by reference (required)
Returns a value that supplies additional error information in
error1
.
Refer to Table 9-1..
pin
16-bit signed integer by value (required)
Passes the process identification number (PIN) of the process for which
information is to be returned in the
item
parameter. A zero returns
information about the calling process.
This parameter is not compatible with the
pin
parameter of the
GETPROCINFO intrinsic.
itemnum
16-bit signed integer by value (optional)
Passes the item number of an information option, as defined in Table 9-2..
item
type varies (optional)
Returns information about the process specified by
pin
, as specified in
Table 9-2.
Table 9-1. PROCINFO Error1, Error2 Values
Error1 Description Error2
0 Successful 0
1 Insufficient capability Index of offending
itemnum