![]() |
posix-next API 0.1.0
Out-of-tree Zephyr POSIX module
|
POSIX Memory Protection option group. More...
Functions | |
| int | mprotect (void *addr, size_t len, int prot) |
| Change the protection of a memory mapping. | |
POSIX Memory Protection option group.
| int mprotect | ( | void * | addr, |
| size_t | len, | ||
| int | prot | ||
| ) |
Change the protection of a memory mapping.
| addr | Base address of the region (must be page-aligned). |
| len | Length of the region in bytes. |
| prot | New memory protection (PROT_* flags). |