Displaying 1 result from an estimated 1 matches for "safe_mmap".
Did you mean:
have_mmap
2001 Aug 09
2
Solaris X86 Wine
...ing at my Solaris 8 (Sparc) machine during the
lunch break yields the attached code that seems to emulate Linux'
behaviour. Do whatever you feel is best.
My $0.02,
Erik Boasson.
--
[Unclassified]
--------------46C2B1B89C526C87F92A8F9D
Content-Type: text/plain; charset=us-ascii;
name="safe_mmap.c"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="safe_mmap.c"
#include <sys/types.h>
#include <sys/wait.h>
#include <sys/stat.h>
#include <sys/mman.h>
#include <errno.h>
#include <unistd.h>
#include <fcntl.h>
#inclu...