Commit Graph

17 Commits (695843c79edcbda68b05cc67efb4f38f967d09b4)

Author SHA1 Message Date
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.