SDK
- macOS 10.4+
Framework
- Kernel
Declaration
Parameters
mbuf
The mbuf chain to copy data out of.
offset
The offset in to the mbuf to start copying.
length
The number of bytes to copy.
out_data
A pointer to the location where the data will be copied.
Return Value
0 upon success otherwise the errno error.
Discussion
Copies data out of an mbuf in to a specified buffer. If the data is stored in a chain of mbufs, the data will be copied from each mbuf in the chain until length bytes have been copied.