table of contents
iob_addfile_close(3) | Library Functions Manual | iob_addfile_close(3) |
NAME¶
iob_addfile_close - add file region to I/O batchSYNTAX¶
#include <iob.h>int iob_addfile_close(io_batch* b,int64 fd,uint64 off,uint64 n);
DESCRIPTION¶
iob_addfile_close schedules n bytes from the file descriptor fd starting at offset off to be written with the I/O batch b.You may not close fd before iob_send indicates it is done.
iob_reset will call io_close(fd).