From ef2a1844bb33649359b8a3ac6b94138fa6112bf1 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 7 Jun 2006 14:56:49 +0000 Subject: sync with glibc --- include/sys/mman.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'include/sys') 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). -- cgit v1.2.3