1iob_addbuf(3) Library Functions Manual iob_addbuf(3)
2
3
4
6 iob_addbuf - add buffer to I/O batch
7
9 #include <iob.h>
10
11 int iob_addbuf(io_batch* b,const void* buf,uint64 n);
12
14 iob_addbuf schedules n bytes starting at buf to be written with the I/O
15 batch b.
16
17 Use iob_addbuf_free if you want the buffer to be deallocated automatiā
18 cally by iob_reset.
19
21 Returns 1 on success, 0 on failure.
22
24 iob_reset(3), iob_send(3), iob_addbuf_free(3), iob_adds(3),
25 iob_addfile(3)
26
27
28
29 iob_addbuf(3)