21 Commits

Author SHA1 Message Date
leitner
760598ec2f #include <foo.h> -> #include <libowfat/foo.h> 2017-05-13 22:51:26 +00:00
leitner
18615acf60 instead of calling mmap with a size of 0 (which will fail), skip the
syscall and fail directly
2016-09-16 16:22:00 +00:00
leitner
c3c05dd884 use AT_FDCWD instead of -1 2016-07-14 16:47:05 +00:00
leitner
5c999f4c62 add mmap_readat 2016-07-14 16:19:47 +00:00
leitner
a255cebc57 mmap_read/mmap_shared on zero length files no longer fail but return a
zero length buffer
2015-03-02 21:25:57 +00:00
leitner
dd436c5bf8 map mmap_read return a const char* 2014-04-02 13:59:03 +00:00
leitner
4a04c40595 get rid of more -Wconversion warnings 2014-03-14 19:42:54 +00:00
leitner
1333904fea make first argument to mmap_unmap const 2013-08-22 23:42:46 +00:00
leitner
dfb4915f0a add cast so the file compiles in c++ mode too 2012-09-27 01:46:12 +00:00
leitner
acd4fdb68b add/fix man pages
zero a buffer in io_passfd so valgrind does not complain when we pass it
to a syscall (which did not use the uninitialized parts anyway)
2010-01-18 19:51:00 +00:00
leitner
3004b518ef switch to size_t and ssize_t 2006-11-07 17:56:05 +00:00
leitner
287d5fbd09 add mmap_unmap 2006-05-18 06:13:49 +00:00
leitner
d361d81c64 make socket_(tc|ud)p[46] actually return non-blocking sockets as
documented (Richard Lyons)
2006-05-18 06:02:43 +00:00
leitner
0080e0311a allow more sharing in win32 mode 2005-04-01 18:52:21 +00:00
leitner
43493f0c56 fix shared and private mmapping (Unix and Windoze) 2005-04-01 18:44:16 +00:00
leitner
e9e8886089 fix mmap_shared 2005-03-08 20:09:03 +00:00
leitner
82a4ae868d broken lose32 port using mingw (don't use!!!)
initial Solaris /dev/poll port
2003-11-06 20:47:59 +00:00
leitner
95c129c81a document error signalling through (void*)0 return code. 2002-01-29 19:44:42 +00:00
leitner
ae4b409c55 add and update man pages. 2001-11-25 23:50:09 +00:00
leitner
8ecb47a608 bsd and macosx compatibility 2001-10-15 14:34:02 +00:00
leitner
84cd4773f4 add mmap library. 2001-05-12 03:34:27 +00:00