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

NAME

6       iob_addfile_close - add file region to I/O batch
7

SYNTAX

9       #include <iob.h>
10
11       int iob_addfile_close(io_batch* b,int64 fd,uint64 off,uint64 n);
12

DESCRIPTION

14       iob_addfile_close  schedules n bytes from the file descriptor fd startā€
15       ing at offset off to be written with the I/O batch b.
16
17       You may not close fd before iob_send indicates it is done.
18
19       iob_reset will call io_close(fd).
20

RETURN VALUE

22       Returns 1 on success, 0 on failure.  In  the  failure  case,  the  file
23       descriptor has been closed.
24

SEE ALSO

26       iob_reset(3), iob_send(3), iob_addbuf(3), iob_addfile(3)
27
28
29
30                                                          iob_addfile_close(3)
Impressum