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

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



NAME    [Toc]    [Back]

       pullupmsg - STREAMS: Concatenates bytes in a message

SYNOPSIS    [Toc]    [Back]

       #include <sys/stream.h>

       int pullupmsg(
               MBLKP message_block_ptr,
               int len );

ARGUMENTS    [Toc]    [Back]

       Specifies  a pointer to the message block whose associated
       data blocks are to be concatenated. The typedef  MBLKP  is
       an  alternate  name  for typedef struct msgb *.  Specifies
       the number of bytes to concatenate.

DESCRIPTION    [Toc]    [Back]

       The pullupmsg interface tries  to  combine  multiple  data
       blocks into a single block. The interface concatenates and
       aligns the first len data bytes of the message pointed  to
       by the message_block_ptr argument. If len equals the value
       -1, pullupmsg concatenates all data. If len bytes  of  the
       same  message  type  cannot  be found, pullupmsg fails and
       returns the value zero (0).

RETURN VALUES    [Toc]    [Back]

       Upon  successful  completion,  the   pullupmsg   interface
       returns the value 1. On failure, it returns the value zero

SEE ALSO    [Toc]    [Back]

       Kernel Interfaces: allocb(9r)

[ Back ]
 Similar pages
Name OS Title
linkb Tru64 STREAMS: Concatenates two message blocks
adjmsg Tru64 STREAMS: Removes the specified number of bytes from a message
msgdsize Tru64 STREAMS: Returns the number of bytes in a message
STRCTLSZ HP-UX maximum size of streams message control (bytes)
strctlsz HP-UX maximum size of streams message control (bytes)
STRMSGSZ HP-UX maximum size of streams message data (bytes)
strmsgsz HP-UX maximum size of streams message data (bytes)
insq Tru64 STREAMS: Inserts a STREAMS message into a queue
unlinkb Tru64 STREAMS: Removes a message block from the head of a message
datamsg Tru64 STREAMS: Tests whether a message is a data message
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service