Nicholas Nethercote afebe61b37 Files updated, added and removed in order to turn the ERASER branch into HEAD
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1086
2002-09-23 09:36:25 +00:00

16 lines
258 B
C

#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <sys/mman.h>
int main()
{
int fd;
mkdir("dir", 0777);
fd = open("dir", O_RDONLY);
mmap(NULL, 4711, PROT_READ, MAP_PRIVATE, fd, 0);
return 0;
}