Jacket
Search the docs
/
API
Tools
Playground
main
Io module
← Io
Stacks
VirtualAlloc
VirtualProtect
VirtualFree
DiscardVirtualMemory
getpagesize
mmap
mprotect
munmap
madvise
On this page
See also
std
/
Extensions
/
Io
/
mprotect
mprotect
procedure
foreign
extension
experimental
macOS, Linux only
Source
mprotect
:: (address: *
void
, length:
u64
, protection:
s32
) ->
s32
#foreign
Parameters
address
:
*
void
length
:
u64
protection
:
s32
Returns
s32
See also
getpagesize
mmap
munmap
madvise