| OpenSS7 SS7 for the Common Man | © Copyright 1997-2007 OpenSS7 Corporation All Rights Reserved. Last modified: Sat, 01 Nov 2008 10:41:55 GMT | ||||||||||||||||
| |||||||||||||||||
| Description: Manual PageKeywords: ss7 ss7/ip ss7 over ip ss7 mtp ss7 sccp ss7 tcap sigtran mtp sccp tcap openss7 acb56 linux telephony pstn linux telephony linux nebs linux compactpciMSGSIZESection: Linux Fast-STREAMS DDI/DKI (9)Updated: 2008-10-31 Index Return to Main Contents NAMEmsgsize - calculate the size of the message blocks in a STREAMS messageSYNOPSIS#include <sys/stream.h>
ARGUMENTS
INTERFACEDESCRIPTIONmsgsize() counts the size of all of the blocks in the message pointed to by mp, regardless of type. USAGEmsgsize() is used internally to count the size of messages place on and taken off of message queues. RETURNUpon success, msgsize() returns the number of bytes in the message pointed to by mp. Upon failure, msgsize() returns zero (0). ERRORSmsgsize() fails and returns zero (0) when the message pointer mp is NULL. CONTEXTmsgsize() can be called from any context, including user context, module procedures, callouts, callbacks, soft interrupts (tasklets and bottom halves) and interrupt service routines. MP-STREAMSmsgsize() is MP-safe. It is the responsibility of the caller, however, to ensure validity of reference and exclusive access to the passed in message. See mp-streams(9). NOTICESmsgsize() is a Solaris®[1] specific helper function provided by the base Linux Fast-STREAMS streams-0.9.2.4 package. The STREAMS Compatibility Modules strcompat(5) package is not required for this symbol to be access. It is not necessary to define _SUN_SOURCE or to include <sys/strsun.h> to access this symbol. However, portable STREAMS drivers and modules will not access this function. SEE ALSOBUGSCOMPATIBILITYmsgsize() is compatible with Solaris®[1], and LiS[2] with the following portability considerations:
See STREAMS(9) for additional compatibility information. CONFORMANCEHISTORYmsgsize() appears as an exported function in LiS[2]. msgsize() first appeared in Solaris®[1]. REFERENCES
TRADEMARKS
Other trademarks are the property of their respective owners. IDENTIFICATION
Copyright©1997-2008OpenSS7 Corp.
All Rights Reserved.
Index
This document was created by man2html, using the manual pages. Time: 22:10:27 GMT, May 18, 2013 | ||||||||||||||||
| OpenSS7 SS7 for the Common Man |
| ||||||||||||||||
| Last modified: Sat, 01 Nov 2008 10:41:55 GMT © Copyright 1997-2007 OpenSS7 Corporation All Rights Reserved. |