1iob_addbuf_free(3)         Library Functions Manual         iob_addbuf_free(3)
2
3
4

NAME

6       iob_addbuf_free - add buffer to I/O batch, with deallocation
7

SYNTAX

9       #include <iob.h>
10
11       int iob_addbuf_free(io_batch* b,const void* buf,uint64 n);
12

DESCRIPTION

14       iob_addbuf_free  schedules  n  bytes starting at buf to be written with
15       the I/O batch b.
16
17       The buffer will automatically be deallocated by iob_reset.
18

RETURN VALUE

20       Returns 1 if successful, 0 if not.  In the failure case, the buffer was
21       deallocated.
22

SEE ALSO

24       iob_reset(3), iob_send(3), iob_addbuf(3), iob_adds(3), iob_addfile(3)
25
26
27
28                                                            iob_addbuf_free(3)
Impressum