]> git.cameronkatri.com Git - mandoc.git/blob - test-mmap.c
If no output device was allocated because no file wanted to produce output,
[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 }