|
CX Framework
Cross-platform C utility framework
|
#include <buffer.h>
Data Fields | |
| void * | data |
| Pointer to the start of this region. | |
| size_t | len |
| Number of valid bytes in this region. | |
Platform-neutral scatter/gather vector.
Describes a single contiguous region of memory as part of a vectored I/O operation. This is not the same layout as the OS's own type (struct iovec on Unix, WSABUF on Windows) – translate into the platform's array immediately before the syscall that needs it.