*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> rmvb (9r)              
Title
Content
Arch
Section
 

rmvb(9r)

Contents


NAME    [Toc]    [Back]

       rmvb  -  STREAMS:  Removes  a message block from a message
       block

SYNOPSIS    [Toc]    [Back]

       #include <sys/stream.h>

       MBLKP rmvb(
               MBLKP message_block_ptr,
               MBLKP message_to_be_removed );

ARGUMENTS    [Toc]    [Back]

       Specifies a pointer to the message block from which a message
  block  is  to  be  removed.  The typedef MBLKP is an
       alternate name for typedef struct  msgb  *.   Specifies  a
       pointer  to  the  message block to be removed. The typedef
       MBLKP is an alternate name for typedef struct msgb *.

DESCRIPTION    [Toc]    [Back]

       The rmvb interface  removes  a  message  block  (the  message_to_be_removed
  argument)  from  a  message block (the
       message_block_ptr argument) and returns a pointer  to  the
       altered  message  block.  The rmvb interface does not free
       the message block; it merely removes the message block. It
       is  the  module's  or  driver's responsibility to free the
       message block.

RETURN VALUES    [Toc]    [Back]

       Upon successful completion, rmvb returns a pointer to  the
       message  block  (minus  the  removed  message  block). The
       pointer is NULL if the message_to_be_removed argument  was
       the  only message block before the call to the rmvb interface.
 If the message block passed to message_to_be_removed
       does not exist, rmvb returns the value -1.

SEE ALSO    [Toc]    [Back]

      
      
       Kernel Interfaces: rmvq(9r)



                                                         rmvb(9r)
[ Back ]
 Similar pages
Name OS Title
unlinkb Tru64 STREAMS: Removes a message block from the head of a message
rmvq Tru64 STREAMS: Removes a message block from a queue
freeb Tru64 STREAMS: Frees a message block
msgb Tru64 Defines a STREAMS message block
allocb Tru64 STREAMS: Allocates a message block
copyb Tru64 STREAMS: Copies a message block
dupb Tru64 STREAMS: Duplicates a message block descriptor
esballoc Tru64 STREAMS: Allocates a message block with a shared buffer
flushq Tru64 STREAMS: Removes a message from a queue
adjmsg Tru64 STREAMS: Removes the specified number of bytes from a message
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service