freebsd-dev/contrib/mdocml/test-mmap.c
2016-01-15 23:28:12 +00:00

10 lines
152 B
C

#include <sys/types.h>
#include <sys/mman.h>
#include <stddef.h>
int
main(void)
{
return mmap(NULL, 1, PROT_READ, MAP_SHARED, -1, 0) != MAP_FAILED;
}