| OpenSS7 SS7 for the Common Man | © Copyright 1997-2007 OpenSS7 Corporation All Rights Reserved. Last modified: Sat, 01 Nov 2008 10:41:57 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 compactpciRMVBSection: Linux Fast-STREAMS DDI/DKI (9)Updated: 2008-10-31 Index Return to Main Contents NAMErmvb - remove a message block from a STREAMS messageSYNOPSIS#include <sys/stream.h>
ARGUMENTS
INTERFACEDESCRIPTIONRemoves the message block pointed to by bp from the message pointed to by mp and returns the pointer to the (new) first message block in the message. If the block pointer, bp, points to the only message block that existed in the message, mp, when rmvb() was called, then rmvb() returns NULL. rmvb() removes the message block bp from the message mp, but does not free the message block bp. bp's b_cont pointer is set to NULL. RETURNUpon success, rmvb() returns a pointer to the modified message. The modified message may be NULL (if the removed block was the only block in the message). Upon failure, rmvb() returns (mblk_t *)(-1). ERRORSWhen rmvb() fails it returns (mblk_t *)(-1). rmvb() only fails if bp was not in the message. CONTEXTrmvb() can be called from any context, including user context, module procedures, callouts, callbacks, soft interrupts (tasklets and bottom halves), and interrupt service routines. MP-STREAMSrmvb() is MP-safe; however, it is the responsibility of the caller to ensure exclusive access to the passed in message mp and message block dp. SEE ALSOlinkb(9), unlinkb(9), freeb(9). BUGSCOMPATIBILITYrmvb() is source-level compatible with SVR 4.2 MP DDI/DKI[1], and implementations based on SVR 4[2] with the following protability considerations:
See STREAMS(9) for additional compatibility considerations. CONFORMANCEHISTORYrmvb() appears as part of SVR 4.0 STREAMS[3]. rmvb() first appeared in SVR 3[4]. 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: 04:05:58 GMT, May 24, 2013 | ||||||||||||||||
| OpenSS7 SS7 for the Common Man |
| ||||||||||||||||
| Last modified: Sat, 01 Nov 2008 10:41:57 GMT © Copyright 1997-2007 OpenSS7 Corporation All Rights Reserved. |