Using NS3000/iX Network Services (36920-90008)

Chapter 7 151
Remote Process Management
OPTOVERHEAD
OPTOVERHEAD
Returns the number of bytes needed for the opt parameter in a
subsequent intrinsic call, not including the data portion of the
parameter.
Syntax
optlength := OPTOVERHEAD (eventualentries[,result])
Parameters
optlength (returned
function value) 16-bit integer. The number of bytes required for the
opt parameter, not including the data portion of the
parameter.
eventualentries
(input) 16-bit integer, by value. The number of option entries
that will be placed in the opt parameter.
result (output) 16-bit integer, by reference. The error code
returned; zero if no error.
Description
This function returns the number of bytes needed for the opt parameter,
excluding the data area. The first parameter is required.
Condition codes returned by this intrinsic are:
CCE — Succeeded.
CCL — Failed because of a user error.
CCG — Not returned by this intrinsic.
This intrinsic may be called from split stack mode.