]> git.cameronkatri.com Git - mandoc.git/blob - test-mmap.c
Without HAVE_ERR, don't try to include <err.h>, it probably isn't there.
[mandoc.git] / test-mmap.c
1 #include <sys/types.h>
2 #include <sys/mman.h>
3 #include <stddef.h>
4
5 int
6 main(void)
7 {
8 return mmap(NULL, 1, PROT_READ, MAP_SHARED, -1, 0) != MAP_FAILED;
9 }