Query: msgpullup
OS: debian
Section: 9f
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
msgpullup(9F) Kernel Functions for Drivers msgpullup(9F)NAMEmsgpullup - concatenate bytes in a messageSYNOPSIS#include <sys/stream.h> mblk_t *msgpullup(mblk_t *mp, ssize_t len);INTERFACE LEVELArchitecture independent level 1 (DDI/DKI).PARAMETERSmp Pointer to the message whose blocks are to be concatenated. len Number of bytes to concatenate.DESCRIPTIONmsgpullup() concatenates and aligns the first len data bytes of the message pointed to by mp, copying the data into a new message. Any remaining bytes in the remaining message blocks will be copied and linked onto the new message. The original message is unaltered. If len equals -1, all data are concatenated. If len bytes of the same message type cannot be found, msgpullup() fails and returns NULL.RETURN VALUESmsgpullup returns the following values: Non-null Successful completion. A pointer to the new message is returned. NULL An error occurred.CONTEXTmsgpullup() can be called from user or interrupt context.SEE ALSOsrv(9E), allocb(9F), pullupmsg(9F), msgb(9S) Writing Device Drivers STREAMS Programming GuideNOTESmsgpullup() is a DKI-compliant replacement for the older pullupmsg(9F) routine. Users are strongly encouraged to use msgpullup() instead of pullupmsg(9F). SunOS 5.10 11 Nov 1996 msgpullup(9F)
Related Man Pages |
---|
pullupmsg(9f) - sunos |
pullupmsg(9f) - debian |
msgpullup(9f) - centos |
msgpullup(9f) - freebsd |
msgpullup(9f) - osx |
Similar Topics in the Unix Linux Community |
---|
'more' error messages |
dd - binary file |