Query: miocpullup
OS: sunos
Section: 9f
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
miocpullup(9F) Kernel Functions for Drivers miocpullup(9F)NAMEmiocpullup - Prepare the payload of an M_IOCTL message for accessSYNOPSIS#include <sys/stream.h> #include <sys/strsun.h> int miocpullup(mblk_t *mp, size_t size);INTERFACE LEVELSolaris DDI specific (Solaris DDI).PARAMETERSmp M_IOCTL message. size Number of bytes to prepare.DESCRIPTIONThe miocpullup() function prepares the payload of the specified M_IOCTL message for access by ensuring that it consists of at least size bytes of data. If the M_IOCTL message is transparent, or its total payload is less than size bytes, an error is returned. Otherwise, the payload is con- catenated as necessary to provide contiguous access to at least size bytes of data. As a special case, if size is zero, miocpullup() returns successfully, even if no payload exists.RETURN VALUESZero is returned on success. Otherwise an errno value is returned indicating the problem.CONTEXTThis function can be called from user, kernel or interrupt context.SEE ALSOSTREAMS Programming Guide SunOS 5.10 9 June 2004 miocpullup(9F)
Related Man Pages |
---|
allocb_tmpl(9f) - sunos |
mcopyin(9f) - sunos |
mioc2ack(9f) - sunos |
mcopyin(9f) - opensolaris |
mexchange(9f) - opensolaris |
Similar Topics in the Unix Linux Community |
---|
Patching error on Solaris 2.6 - I know the 'fix' - do you? |