Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ optoverhead(3N) — HP-UX 8.07

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ipcconnect(2)

ipccontrol(2)

ipccreate(2)

ipcdest(2)

ipcgetnodename(2)

ipclookup(2)

ipcname(2)

ipcnamerase(2)

ipcrecv(2)

ipcrecvcn(2)

ipcselect(2)

ipcsend(2)

ipcsetnodename(2)

ipcshutdown(2)

addopt(3N)

initopt(3N)

ipcerrmsg(3N)

readopt(3N)

optoverhead(3N)

Requires Optional LAN/X.25 Software

NAME

optoverhead − return number of bytes needed by a NetIPC option

SYNOPSIS

#include <sys/ns_ipc.h>

int optoverhead(short eventualentries, short ∗result);

DESCRIPTION

optoverhead returns the number of bytes needed by the opt parameter, excluding the data area. 

PARAMETERS

eventualentries (input parameter) The number of option entries that will be placed in the opt parameter. 

result (output parameter) The result code returned.  See "Diagnostics" below for more information. 

RETURNS

Upon successful completion, a 16-bit integer value is returned that indicates the number of bytes requires for the opt parameter, not including the data portion of the parameter. 

DIAGNOSTICS

[NSR_NO_ERROR] The call was successful. 

[NSR_OPT_TOTAL] The num_entries parameter is negative. 

AUTHOR

optoverhead was developed by HP. 

SEE ALSO

ipcconnect(2), ipccontrol(2), ipccreate(2), ipcdest(2), ipcgetnodename(2), ipclookup(2), ipcname(2), ipcnamerase(2), ipcrecv(2), ipcrecvcn(2), ipcselect(2), ipcsend(2), ipcsetnodename(2), ipcshutdown(2), addopt(3N), initopt(3N), ipcerrmsg(3N), readopt(3N). 

Hewlett-Packard Company  —  HP-UX Release 8.05: June 1991

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026