INITOPT [ Net IPC 3000/XL Programmer's Reference Manual ] MPE/iX 5.0 Documentation
Net IPC 3000/XL Programmer's Reference Manual
INITOPT
Initializes the opt parameter so that entries may be added.
Syntax
________________________________________________
| |
| |
| INITOPT ( opt, eventualentries,[ result])|
| |
________________________________________________
Parameters
opt (output)
Record or byte array, by reference. The opt parameter which is to be
initialized. Refer to "Common Parameters" for more information on the
structure of this parameter.
eventualentries (input)
16-bit integer, by value. The number of option entries that are to be
placed in the opt parameter.
result (output)
16-bit integer, by reference. The error code returned; zero if no error.
Description
The INITOPT intrinsic initializes the length and number-of-entries fields
(that is, the first 4 bytes) of the opt parameter. This must be done
before options are added to the parameter by means of the ADDOPT
intrinsic.
Condition codes returned by this intrinsic are:
* CCE--Succeeded.
* CCL--Failed because of a user error.
* CCG--Not returned by this intrinsic.
This intrinsic can be called in split stack mode.
MPE/iX 5.0 Documentation