Import mdocml-1.13.1
[dragonfly.git] / contrib / mdocml / test-mmap.c
CommitLineData
a4c7eb57
SW
1#include <sys/types.h>
2#include <sys/mman.h>
070c62a6 3#include <stddef.h>
a4c7eb57
SW
4
5int
070c62a6 6main(void)
a4c7eb57 7{
070c62a6 8 return(MAP_FAILED != mmap(NULL, 1, PROT_READ, MAP_SHARED, -1, 0));
a4c7eb57 9}