minix/external/bsd/mdocml/dist/test-mmap.c

11 lines
146 B
C
Raw Normal View History

#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;
}