]> git.cameronkatri.com Git - mandoc.git/blob - test-mmap.c
This one needs config.h too, if only for __BEGIN_DECLS.
[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(MAP_FAILED != mmap(NULL, 1, PROT_READ, MAP_SHARED, -1, 0));
9 }