Query: msgpullup
OS: opensolaris
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.DESCRIPTIONThe msgpullup() function concatenates and aligns the first len data bytes of the message pointed to by mp, copying the data into a new mes- sage. Any remaining bytes in the remaining message blocks will be copied and linked onto the new message. The original message is unal- tered. 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 VALUESThe msgpullup function returns the following values: Non-null Successful completion. A pointer to the new message is returned. NULL An error occurred.CONTEXTThe msgpullup() function can be called from user, interrupt, or kernel context.SEE ALSOsrv(9E), allocb(9F), pullupmsg(9F), msgb(9S) Writing Device Drivers STREAMS Programming GuideNOTESThe msgpullup() function is a DKI-compliant replacement for the older pullupmsg(9F) routine. Users are strongly encouraged to use msg- pullup() instead of pullupmsg(9F). SunOS 5.11 16 Jan 2006 msgpullup(9F)
Related Man Pages |
---|
pullupmsg(9f) - opensolaris |
pullupmsg(9f) - debian |
msgpullup(9f) - linux |
pullupmsg(9f) - freebsd |
pullupmsg(9f) - osx |
Similar Topics in the Unix Linux Community |
---|
How to learn UNIX |
What does this mean? |
PHP Man Pages Now Available (Over 10,000) |
Change directory for core file |
%memused is high |