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

  man pages->Tru64 Unix man pages -> unlinkb (9r)              



NAME    [Toc]    [Back]

       unlinkb  -  STREAMS: Removes a message block from the head
       of a message

SYNOPSIS    [Toc]    [Back]

       #include <sys/stream.h>

       MBLKP unlinkb(
               MBLKP message_ptr );

ARGUMENTS    [Toc]    [Back]

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

DESCRIPTION    [Toc]    [Back]

       The unlinkb interface removes the first message block from
       the  message block pointed to by the message_ptr argument.
       The interface returns a pointer to the new message  block,
       minus the removed message block.

RETURN VALUES    [Toc]    [Back]

       Upon  successful  completion, unlinkb returns a pointer to
       the  new  message  block  with  the  first  message  block
       removed.  If there is only one message block in the specified
 message block, unlinkb returns NULL.

SEE ALSO    [Toc]    [Back]

       Kernel Interfaces: linkb(9r)

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