man.bsd.lv manual page server

Manual Page Search Parameters

MPROTECT(2) System Calls Manual MPROTECT(2)

mprotectcontrol the protection of pages

mprotect(caddr_t addr, int len, int prot);

The () system call changes the specified pages to have protection prot. Not all implementations will guarantee protection on a page basis; the granularity of protection changes may be as large as an entire region.

msync(2), munmap(2), madvise(2), mincore(2)

The mprotect() function first appeared in 4.4BSD.

4.4BSD-Lite2 June 9, 1993 MPROTECT(2)