6 #include "posix-compat.h"
13 char *start = (char *) 0x10000000;
17 printf ("(mmap-overlap) begin\n");
19 for (i = 0; i < 2; i++)
21 fd[i] = open ("zeros");
24 printf ("(mmap-overlap) open() failed\n");
27 if (!mmap (fd[i], start, 8192))
33 printf ("(mmap-overlap) mmap() failed\n");
40 printf ("(mmap-overlap) fail: mmap of overlapped blocks succeeded\n");
43 printf ("(mmap-overlap) end\n");