20 Commits (6cd198cb98ca8207fd146e83537056a195039543)

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