NetIPC 3000/XL Programmer's Reference Manual (5958-8600)
Table Of Contents
- 1 NetIPC Fundamentals
- 2 Cross-System NetIPC
- 3 NetIPC Intrinsics
- 4 NetIPC Examples
- A IPC Interpreter (IPCINT)
- B Cause and Diagnostic Codes
- C ErrorMessages
- D Migration From PTOP to NetIPC and RPM
- E C Program Language Considerations

Chapter 3 123
NetIPC Intrinsics
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.
• CCL — Failed because of a user error.
This intrinsic can be called in split stack mode.