| 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 compactpciFREEMSGSection: Linux Fast-STREAMS DDI/DKI (9)Updated: 2008-10-31 Index Return to Main Contents NAMEfreemsg - frees a STREAMS messageSYNOPSIS#include <sys/stream.h>
ARGUMENTS
INTERFACEDESCRIPTIONfreemsg() frees the STREAMS(4) message pointed to by mp and the associated message blocks, data blocks and data buffers. Freeing the message blocks of the message might or might not result in the deallocation of the message blocks, data blocks or data buffers, depending upon the internal implementation, the binding of message blocks to data blocks and whether the buffers are internal or external buffers. For external data buffers that are to be freed, the function will be called with the arg provided previously to a esballoc(9) call. RETURNERRORSIf the block pointer, bp, passed to freeb() is NULL, then freeb() will silently fail. CONTEXTfreemsg() can be called from any context, including user context, module procedures, callouts, callbacks, soft interrupts (tasklets and bottom halves), and interrupt service routines. MP-STREAMSfreemsg() is MP-safe. It is the caller's responsibility to ensure that it has the last remaining reference to the message blocks in the passed in message. IMPLEMENTATIONfreemsg() is implemented with a looping call to freeb(9), following along the b_cont pointer of each message block in the message block chain beginning with the passed in message block, mp. See freeb(9) for more information. SEE ALSOallocb(9), esballoc(9) and freeb(9). BUGSCOMPATIBILITYfreemsg() is compatible with SVR 4.2 MP DDI/DKI[1], and implementations based on SVR 4[2] with the following portability considerations:
See STREAMS(9) for additional compatibility information. CONFORMANCEHISTORYfreemsg() appears as part of SVR 4.0 STREAMS[4]. freemsg() appeared first in SVR 3[5]. 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: 19:58:27 GMT, May 17, 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. |