Commit Graph

21 Commits (e0ee49ba2ea2c3a7554010b3bd1c2697adf43f33)

Author SHA1 Message Date
leitner 760598ec2f #include <foo.h> -> #include <libowfat/foo.h>
leitner 18615acf60 instead of calling mmap with a size of 0 (which will fail), skip the
syscall and fail directly
leitner c3c05dd884 use AT_FDCWD instead of -1
leitner 5c999f4c62 add mmap_readat
leitner a255cebc57 mmap_read/mmap_shared on zero length files no longer fail but return a
zero length buffer
leitner dd436c5bf8 map mmap_read return a const char*
leitner 4a04c40595 get rid of more -Wconversion warnings
leitner 1333904fea make first argument to mmap_unmap const
leitner dfb4915f0a add cast so the file compiles in c++ mode too
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)
leitner 3004b518ef switch to size_t and ssize_t
leitner 287d5fbd09 add mmap_unmap
leitner d361d81c64 make socket_(tc|ud)p[46] actually return non-blocking sockets as
documented (Richard Lyons)
leitner 0080e0311a allow more sharing in win32 mode
leitner 43493f0c56 fix shared and private mmapping (Unix and Windoze)
leitner e9e8886089 fix mmap_shared
leitner 82a4ae868d broken lose32 port using mingw (don't use!!!)
initial Solaris /dev/poll port
leitner 95c129c81a document error signalling through (void*)0 return code.
leitner ae4b409c55 add and update man pages.
leitner 8ecb47a608 bsd and macosx compatibility
leitner 84cd4773f4 add mmap library.