summaryrefslogblamecommitdiffstats
path: root/test-mmap.c
blob: db8fd8732e4df81fdb71fe9dce334a00d2839f2d (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                      








                                                          
#include <sys/types.h>
#include <sys/mman.h>

int
main(int argc, char **argv)
{

	mmap(0, 0, PROT_READ, MAP_FILE|MAP_SHARED, -1, 0);
	return 0;
}