31 Commits

Author SHA1 Message Date
leitner
e19831955e sigh 2024-04-03 21:52:18 +00:00
leitner
cf6441b0c4 another bsd warning 2024-04-03 21:49:05 +00:00
leitner
8d027b2a2b silence bsd warning 2024-04-03 21:47:07 +00:00
leitner
fe1cb50ec1 remove unused local var 2022-04-25 14:21:38 +00:00
leitner
1564beb8a3 change io_eagain to io_eagain_wite 2022-04-25 14:20:47 +00:00
leitner
d9cbb3940c it turns out you don't need -1/EGAIN to know edge triggering told you
there is no more data, it's enough to read/write less than you asked for
2014-06-05 19:17:24 +00:00
leitner
a544abc39c switch io_fds from array to newly implemented (hopefully thread-safe) iarray
switch epoll from level triggering to edge triggering
2014-04-04 18:11:03 +00:00
leitner
c1c50c7dbd further Windoze support (test/io5.c works, gatling still doesn't)
This is just to get gatling to work, I may remove it again after
    that.
2005-09-09 22:12:23 +00:00
leitner
9512cee614 add -D_REENTRANT to CFLAGS so libowfat can be used in multi-threaded
programs
2005-09-02 21:11:58 +00:00
leitner
f4c8a0c7c2 fix openbsd problem? 2005-02-04 19:04:12 +00:00
leitner
b48ce77792 add iob_write (to write an io batch through a callback) 2004-11-25 22:55:46 +00:00
leitner
11f0616cf3 work around broken Linux sendfile API (offset 64-bit but count 32-bit) 2004-05-08 12:52:22 +00:00
leitner
5e2141e9f6 fix bug in mmap code path of io_sendfile (David Leadbeater) 2004-03-24 14:02:00 +00:00
leitner
1d9075071f add some man pages 2004-02-27 17:04:02 +00:00
leitner
8454eb7e4c speculative pre-emptive freebsd 4 compatibility ;) 2004-02-21 17:27:42 +00:00
leitner
177e18f415 the mmap+write version of io_sendfile sent too much at the end and/or
went into an infinite loop sometimes.
2004-01-26 01:17:39 +00:00
leitner
c18a0dbf62 actually check in AIX sendfile code 2004-01-14 01:11:49 +00:00
leitner
cae1a561fd integrate Linux sendfile into trysendfile.c infrastructure
first stab at AIX 5 sendfile support
2004-01-12 22:09:41 +00:00
leitner
f21e1c57a3 macos x support 2004-01-08 17:11:08 +00:00
leitner
7ddce27f49 Support Solaris 9 sendfile 2004-01-08 16:34:47 +00:00
leitner
4740036c6f #define _LARGEFILE64_SOURCE 2004-01-08 15:11:13 +00:00
leitner
f484ecdc5f support HP-UX sendfile (thanks Rolf Eike Beer) 2004-01-08 15:07:40 +00:00
leitner
8ce9e6c016 sendfile 2004-01-07 19:05:36 +00:00
leitner
3cac9c2b80 make sure the mmap based io_sendfile actually works (and terminates) 2003-11-24 04:12:07 +00:00
leitner
9a0e23f420 oops, left debug #undef in 2003-11-15 00:12:22 +00:00
leitner
a17f7c30d2 use mmap on BSD without sendfile 2003-11-15 00:11:24 +00:00
leitner
f6b5de0c93 forgot to include <unistd.h> 2003-10-06 02:03:43 +00:00
leitner
b97909c538 remove warning 2003-10-06 01:55:49 +00:00
leitner
0c64df2331 make BSD sendfile optional (NetBSD doesn't have it) 2003-10-06 01:54:49 +00:00
leitner
e86a457f5c harmonize semantics of io_sendfile and iob_send 2003-09-19 15:26:00 +00:00
leitner
dfe75af4bd add io_sendfile with BSD support 2003-09-08 17:36:31 +00:00