HPlogo NetIPC 3000/XL Programmer's Reference Manual: HP 3000 MPE/iX Computer Systems > Chapter 3 NetIPC Intrinsics

OPTOVERHEAD

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Glossary

 » Index

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.

Feedback to webmaster