Docs.rs
memsec-0.7.0
memsec 0.7.0
Permalink
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
quininer
Dependencies
getrandom ^0.2
normal
optional
libc ^0.2
normal
optional
windows-sys ^0.45
normal
optional
Versions
55%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
memsec
0.7.0
Modules
Prot
Functions
free
malloc
malloc_sized
memcmp
memeq
memset
memzero
mlock
mprotect
munlock
memsec
Function
mlock
Copy item path
Settings
Help
Summary
Source
pub unsafe fn mlock(addr:
*mut
u8
, len:
usize
) ->
bool
Expand description
Cross-platform
mlock
.
Unix
mlock
.
Windows
VirtualLock
.