109 Commits (7c6b77840ec0c96fb43dc88a9b9b257086bab374)

Author SHA1 Message Date
leitner f4108178f2 fix case where iob_send sends all from io batch, but then new data is
added and iob_send is called again
21 years ago
leitner 523f6f4765 cosmetics: use write instead of writev if there is only one buffer to
write (looks nicer in strace)
21 years ago
leitner 72382af11a Solaris compatibility for io_passfd and io_receivefd (untested, but at
least it compiles)
21 years ago
leitner 1e871b1c32 actually return 0 on success in io_passfd 21 years ago
leitner 696c5f872c add io_readwritefile, io_appendfile 21 years ago
leitner 11f0616cf3 work around broken Linux sendfile API (offset 64-bit but count 32-bit) 21 years ago
leitner 768a46e304 argh more bsd 21 years ago
leitner a23757a317 bsd compat 21 years ago
leitner f26451c086 slight optimization for sending 0 bytes from a file
(also fixes a FreeBSD-current sendfile breakage)
21 years ago
leitner 5e2141e9f6 fix bug in mmap code path of io_sendfile (David Leadbeater) 21 years ago
leitner d8ce4dc2e5 fix signal race (Scott Lamb) 21 years ago
leitner 076a8f4628 explicitly define extern globals 21 years ago
leitner 78d181cb3e document return values correctly 21 years ago
leitner 6fb76c3cd9 <io.h> -> <iob.h> 21 years ago
leitner 4aecd26995 add more man pages 21 years ago
leitner 24227e0e01 add sigpipe helper 21 years ago
leitner 1d9075071f add some man pages 21 years ago
leitner b27aa1a9d8 better error handling 21 years ago
leitner 70e112b892 add fd passing functions 21 years ago
leitner 745c4affc5 add io_socketpair 21 years ago
leitner 3996ade63e add iob_addfile_close (iob_reset will close the files) 21 years ago
leitner adcb7aee21 handle POLLNVAL (can't happen errors) 21 years ago
leitner 8454eb7e4c speculative pre-emptive freebsd 4 compatibility ;) 21 years ago
leitner 069aedc871 try to fix freebsd 4 compile error 21 years ago
leitner 4eed466fbc writev fix 21 years ago
leitner 177e18f415 the mmap+write version of io_sendfile sent too much at the end and/or
went into an infinite loop sometimes.
21 years ago
leitner c18a0dbf62 actually check in AIX sendfile code 21 years ago
leitner cae1a561fd integrate Linux sendfile into trysendfile.c infrastructure
first stab at AIX 5 sendfile support
21 years ago
leitner 7bcba8b2d1 still had bus error :( 21 years ago
leitner 91060a1772 still bus error 21 years ago
leitner 6d35239e2c bus error?! 21 years ago
leitner e92d4ca5f5 prefetching leaked memory 21 years ago
leitner f21e1c57a3 macos x support 21 years ago
leitner 8f188cc95b macos x support 21 years ago
leitner 7ddce27f49 Support Solaris 9 sendfile 21 years ago
leitner 4740036c6f #define _LARGEFILE64_SOURCE 21 years ago
leitner f484ecdc5f support HP-UX sendfile (thanks Rolf Eike Beer) 21 years ago
leitner 8ce9e6c016 sendfile 21 years ago
leitner 2a516c901a recent change corrected sendfile parameters but not internal usage 21 years ago
leitner fa476a9200 add experimental prefetching support 21 years ago
leitner f52aa87441 more alloca fixes 21 years ago
leitner 876738bd8e make cast nicer 21 years ago
leitner 03461c6eb1 more defensive programming for SIGIO (*groan*) 21 years ago
leitner 3cac9c2b80 make sure the mmap based io_sendfile actually works (and terminates) 21 years ago
leitner 9a0e23f420 oops, left debug #undef in 21 years ago
leitner a17f7c30d2 use mmap on BSD without sendfile 21 years ago
sanjiyan a58d400d5c fixing the poll call in io_waituntil2 21 years ago
leitner 0a38894c43 *duh* one extra zero 21 years ago
sanjiyan 29cfd8df4e reset timer correct. 21 years ago
sanjiyan 90bde5e569 reset the timer in the correct way. 21 years ago