![]() |
posix-next API 0.1.0
Out-of-tree Zephyr POSIX module
|
POSIX Range Memory Locking option. More...
Functions | |
| int | mlock (const void *addr, size_t len) |
| Lock a range of the calling process's address space into memory. | |
| int | munlock (const void *addr, size_t len) |
| Unlock a range of the calling process's address space. | |
POSIX Range Memory Locking option.
| int mlock | ( | const void * | addr, |
| size_t | len | ||
| ) |
Lock a range of the calling process's address space into memory.
| addr | Base address of the region to lock. |
| len | Length of the region in bytes. |
| int munlock | ( | const void * | addr, |
| size_t | len | ||
| ) |
Unlock a range of the calling process's address space.
| addr | Base address of the region to unlock. |
| len | Length of the region in bytes. |