6 Commits (fa9c86e8d84709463f02eab3161be8b9a242306f)

Author SHA1 Message Date
leitner c2a2a15c12 document the return value expected from the callback given to iob_write
remove unused #include in iob_reset
if iob_addfile_close fails, it now closes the fd
if iob_addbuf_munmap fails, it now munmaps the buf
if iob_addbuf_free fails, it now frees the buf
some win32 cross-compile fixes for iarray
13 years ago
leitner 8b17690318 use callback based infrastructure to reset iob's 17 years ago
leitner 11da04b651 fix descriptor leak in iob_addfile_close if the range was 0 (oops) 20 years ago
leitner b48ce77792 add iob_write (to write an io batch through a callback) 20 years ago
leitner f26451c086 slight optimization for sending 0 bytes from a file
(also fixes a FreeBSD-current sendfile breakage)
21 years ago
leitner 3996ade63e add iob_addfile_close (iob_reset will close the files) 21 years ago