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)); }