Loading...
Searching...
No Matches
iolist.h File Reference

iolist scatter / gather IO More...

Detailed Description

iolist scatter / gather IO

Author
Kaspar Schleiser kaspa.nosp@m.r@sc.nosp@m.hleis.nosp@m.er.d.nosp@m.e

Definition in file iolist.h.

#include <unistd.h>
+ Include dependency graph for iolist.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  iolist
 iolist structure definition More...
 

Typedefs

typedef struct iolist iolist_t
 iolist forward declaration
 

Functions

unsigned iolist_count (const iolist_t *iolist)
 Count number of entries in an iolist_t.
 
size_t iolist_size (const iolist_t *iolist)
 Sum up number of bytes in iolist.
 
size_t iolist_to_iovec (const iolist_t *iolist, struct iovec *iov, unsigned *count)
 Create struct iovec from iolist.
 
ssize_t iolist_to_buffer (const iolist_t *iolist, void *dst, size_t len)
 Copies the bytes of the iolist to a buffer.