minix/external/bsd/mdocml/dist/test-mmap.c
Lionel Sambuc 92395e9c3f external/bsd/mdocml: Update
Change-Id: I17b54e52e8322676d83ed4386f586f8ef3029f72
2014-03-01 09:04:56 +01:00

10 lines
146 B
C

#include <sys/types.h>
#include <sys/mman.h>
int
main(int argc, char **argv)
{
mmap(0, 0, PROT_READ, MAP_FILE|MAP_SHARED, -1, 0);
return 0;
}