diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2015-02-04 14:09:54 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2015-02-04 14:09:54 +0100 |
commit | bd82d030011cd8b9655e5ded6b6df9343b42a6bd (patch) | |
tree | de82d886dfea0cb7dbb6e80436218a25cb211bc3 /doc/ux-mmap.txt |
Imported Upstream version 3.22upstream/3.22
Diffstat (limited to 'doc/ux-mmap.txt')
-rw-r--r-- | doc/ux-mmap.txt | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/doc/ux-mmap.txt b/doc/ux-mmap.txt new file mode 100644 index 0000000..43f5ac9 --- /dev/null +++ b/doc/ux-mmap.txt @@ -0,0 +1,26 @@ +=============================================================================== +ux-mmap - Unix compatibility functions 2006-02-25 + + +DESCRIPTION + + libHX provides a Linux-style mmap() function for Win32. + + +SYNOPSIS + + #include <libHX.h> + + void *mmap(void *START, size_t LENGTH, int PROT, int FLAGS, int FD, + off_t OFFSET); + + +mmap() + + See the Linux manual page mmap(2) for details. Many flags described in + mmap(2) do not work. What does work: PROT_NONE, PROT_READ, PROT_WRITE, + PROT_EXEC (only WinPX SP2 or WinServer2003 SP1 or up), MAP_SHARED and + MAP_PRIVATE. MAP_SHARED is the default if no MAP_PRIVATE is given. + + +=============================================================================== |