summaryrefslogtreecommitdiffstats
path: root/test-mmap.c
blob: 7fb2f9737936bcfe4cce896bfd576dd338b911c8 (plain) (blame)
1
2
3
4
5
6
7
8
#include <sys/types.h>
#include <sys/mman.h>

int
main(void)
{
	return(MAP_FAILED != mmap(NULL, 1, PROT_READ, MAP_SHARED, -1, 0));
}