HP 3000 Manuals

OPTOVERHEAD [ Net IPC 3000/XL Programmer's Reference Manual ] MPE/iX 5.0 Documentation


Net IPC 3000/XL Programmer's Reference Manual

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 can be called in split stack mode.



MPE/iX 5.0 Documentation