6 Commits

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
2012-02-24 02:00:52 +00:00
leitner
8b17690318 use callback based infrastructure to reset iob's 2007-10-17 13:25:44 +00:00
leitner
11da04b651 fix descriptor leak in iob_addfile_close if the range was 0 (oops) 2005-03-11 18:34:34 +00:00
leitner
b48ce77792 add iob_write (to write an io batch through a callback) 2004-11-25 22:55:46 +00:00
leitner
f26451c086 slight optimization for sending 0 bytes from a file
(also fixes a FreeBSD-current sendfile breakage)
2004-04-07 08:38:41 +00:00
leitner
3996ade63e add iob_addfile_close (iob_reset will close the files) 2004-02-25 02:22:54 +00:00