Control Protection of Pages
Wrapper to mprotect
system call. Not all
implementations will guarantee protection.
mprotect(x, i, prot)
x |
|
i |
location and length of pages to protect. |
prot |
protection flag set by |
This functionality is very experimental, and likely to be of limited use with R, as the result of a page access that is protected is a SIG that isn't likely to be caught by R. This may be of use for other programs sharing resource with R.
0 upon success, otherwise -1.
Jeffrey A. Ryan
‘mprotect’ man page.
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.