|
|
NM and CM callable.
Returns the process identification number (PIN) of a child process. Process
handling (PH) capability is required.
Syntax
I16 I16V
pin := GETPROCID (numchild);
Functional Return
- pin
16-bit signed integer (assigned functional return)
Returns the PIN of the specified child process.
Parameters
- numchild
16-bit signed integer by value (required)
Passes a number indicating which child's PIN GETPROCID returns.
The value of numchild corresponds to the order of
creation of the current children of the calling process, as follows:
Value | Meaning |
<= 1 | PIN of the oldest child process |
2 | PIN of second oldest child process |
... | ... |
n | PIN of the most recently created child process (where
n is the number of children currently in
existence) |
>n | A value greater than the number of children in
existence, returns a zero. |
Related Information
|