diff options
Diffstat (limited to 'include/sys')
-rw-r--r-- | include/sys/mman.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/include/sys/mman.h b/include/sys/mman.h index 6ad3b9d75..aeeea7d0e 100644 --- a/include/sys/mman.h +++ b/include/sys/mman.h @@ -119,10 +119,12 @@ extern int munlockall (void) __THROW; #ifdef __USE_MISC /* Remap pages mapped by the range [ADDR,ADDR+OLD_LEN) to new length - NEW_LEN. If MAY_MOVE is MREMAP_MAYMOVE the returned address may - differ from ADDR. */ + NEW_LEN. If MREMAP_MAYMOVE is set in FLAGS the returned address + may differ from ADDR. If MREMAP_FIXED is set in FLAGS the function + takes another paramter which is a fixed address at which the block + resides after a successful call. */ extern void *mremap (void *__addr, size_t __old_len, size_t __new_len, - int __may_move) __THROW; + int __flags, ...) __THROW; /* mincore returns the memory residency status of the pages in the current process's address space specified by [start, start + len). |