freebsd-nq/contrib/mdocml/test-mmap.c
2014-11-22 18:57:23 +00:00

10 lines
153 B
C

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