Add 32bit time64 syscalls for arm, mips32, ppc32 and x86.
[valgrind.git] / memcheck / tests / mmaptest.c
blobfac1f655caa342ab48a203f5efca6ac6494ae645
1 #include <sys/types.h>
2 #include <sys/stat.h>
3 #include <fcntl.h>
4 #include <unistd.h>
5 #include "tests/sys_mman.h"
7 int main()
9 int fd;
11 mkdir("dir", 0777);
12 fd = open("dir", O_RDONLY);
13 mmap(NULL, 4711, PROT_READ, MAP_PRIVATE, fd, 0);
14 return 0;