* @brief Unmaps a memory region previously mapped with mmap or mmap2. * * This system call implements the `munmap` system call, which removes a mapping * for a region of memory that was previously created using `mmap` or `mmap2`. * * @param addr The starting address of the memory region to unmap. This address * must be page-aligned and refer to a region previously mapped. * @par
| 2060 | * @see mmap(), mmap2(), msync() |
| 2061 | */ |
| 2062 | sysret_t sys_munmap(void *addr, size_t length) |
| 2063 | { |
| 2064 | return lwp_munmap(lwp_self(), addr, length); |
| 2065 | } |
| 2066 | |
| 2067 | /** |
| 2068 | * @brief Changes the size or location of an existing memory mapping. |
nothing calls this directly
no test coverage detected