summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-06-07 14:56:49 +0000
committerMike Frysinger <vapier@gentoo.org>2006-06-07 14:56:49 +0000
commitef2a1844bb33649359b8a3ac6b94138fa6112bf1 (patch)
treec6b1e48189654bf9351fde458d511dabff39b726 /include
parent3985e07994c8229d411f0431ceebef34d41d1193 (diff)
sync with glibc
Diffstat (limited to 'include')
-rw-r--r--include/sys/mman.h8
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).