5 POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/mmap.html}
9 Portability problems fixed by Gnulib:
13 Portability problems not fixed by Gnulib:
16 This function is missing on some platforms:
19 To get anonymous memory, on some platforms, you can use the flags
20 @code{MAP_ANONYMOUS | MAP_PRIVATE} and @code{-1} instead of a file descriptor;
21 on others you have to use a read-only file descriptor of @file{/dev/zero}.
23 On HP-UX, passing a non-NULL first argument, as a hint for the address (even
24 without @code{MAP_FIXED}, often causes @code{mmap} to fail. Better pass NULL
27 On HP-UX, @code{MAP_FIXED} basically never works. On other platforms, it depends
28 on the circumstances whether memory can be returned at a given address.