112 Commits (645ecc0632e990d7c77e43bc725e06800a457d61)

Author SHA1 Message Date
Felix von Leitner 645ecc0632 add iob_write (to write an io batch through a callback)
18 years ago
Felix von Leitner 017557490a use madvise MADV_PREFETCH to implement iob_prefetch
19 years ago
Felix von Leitner 315ab58746 fix case where iob_send sends all from io batch, but then new data is
19 years ago
Felix von Leitner 1892543745 cosmetics: use write instead of writev if there is only one buffer to
19 years ago
Felix von Leitner c431accd41 Solaris compatibility for io_passfd and io_receivefd (untested, but at
19 years ago
Felix von Leitner 1213467cfe actually return 0 on success in io_passfd
19 years ago
Felix von Leitner c7adf4e307 add io_readwritefile, io_appendfile
19 years ago
Felix von Leitner 71cbad0f60 work around broken Linux sendfile API (offset 64-bit but count 32-bit)
19 years ago
Felix von Leitner 9d014e1f36 bsd compat
19 years ago
Felix von Leitner 56ac77f629 argh more bsd
19 years ago
Felix von Leitner 878fbf64ac bsd compat
19 years ago
Felix von Leitner 21907d29cc slight optimization for sending 0 bytes from a file
19 years ago
Felix von Leitner 0da1c0902d fix bug in mmap code path of io_sendfile (David Leadbeater)
19 years ago
Felix von Leitner f9bff979e2 fix signal race (Scott Lamb)
19 years ago
Felix von Leitner ca610274e0 explicitly define extern globals
19 years ago
Felix von Leitner 1f7895e25c document return values correctly
19 years ago
Felix von Leitner 08b13a1f18 <io.h> -> <iob.h>
19 years ago
Felix von Leitner 10be0bddaf add more man pages
19 years ago
Felix von Leitner 654075d0eb add sigpipe helper
19 years ago
Felix von Leitner 5617c437b8 add some man pages
19 years ago
Felix von Leitner 59a340381e better error handling
19 years ago
Felix von Leitner ec2f230bb4 add fd passing functions
19 years ago
Felix von Leitner 5959a6d634 add io_socketpair
19 years ago
Felix von Leitner 00dcef4652 add iob_addfile_close (iob_reset will close the files)
19 years ago
Felix von Leitner 8bfdacc6f2 handle POLLNVAL (can't happen errors)
19 years ago
Felix von Leitner 4f27d99c9d speculative pre-emptive freebsd 4 compatibility ;)
19 years ago
Felix von Leitner 75e1b71e75 try to fix freebsd 4 compile error
19 years ago
Felix von Leitner 31e62af122 writev fix
19 years ago
Felix von Leitner bfe7592705 the mmap+write version of io_sendfile sent too much at the end and/or
19 years ago
Felix von Leitner 1e6cd7dc5c actually check in AIX sendfile code
19 years ago
Felix von Leitner 81f97d85b7 integrate Linux sendfile into trysendfile.c infrastructure
19 years ago
Felix von Leitner 23e8812905 still had bus error :(
19 years ago
Felix von Leitner d981f35a7f still bus error
19 years ago
Felix von Leitner 4c5a8ea119 bus error?!
19 years ago
Felix von Leitner 8885fc1018 prefetching leaked memory
19 years ago
Felix von Leitner 5ea24edfec macos x support
19 years ago
Felix von Leitner e8c96ef3a7 macos x support
19 years ago
Felix von Leitner 9a765ad112 Support Solaris 9 sendfile
19 years ago
Felix von Leitner 2edb9fb227 #define _LARGEFILE64_SOURCE
19 years ago
Felix von Leitner d8c2458342 support HP-UX sendfile (thanks Rolf Eike Beer)
19 years ago
Felix von Leitner 00d584a650 sendfile
19 years ago
Felix von Leitner 67e1b495b6 recent change corrected sendfile parameters but not internal usage
19 years ago
Felix von Leitner 126e947ac2 add experimental prefetching support
19 years ago
Felix von Leitner c99799d0f8 more alloca fixes
19 years ago
Felix von Leitner 8c61125e21 make cast nicer
19 years ago
Felix von Leitner 68da613393 more defensive programming for SIGIO (*groan*)
19 years ago
Felix von Leitner 5c92fb9e03 make sure the mmap based io_sendfile actually works (and terminates)
19 years ago
Felix von Leitner fe36b75750 oops, left debug #undef in
19 years ago
Felix von Leitner 5e4484722d use mmap on BSD without sendfile
19 years ago
Olaf Dreesen 0a7bea50ee fixing the poll call in io_waituntil2
19 years ago