diff options
author | Jakub Jelinek <jakub@redhat.com> | 2006-09-10 18:59:03 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2006-09-10 18:59:03 +0000 |
commit | effe3e2d1a084fde8fae9b91febb28c97781f9e5 (patch) | |
tree | 97749ea80a323592d3d80f24627f9fcb8b8b7297 /misc | |
parent | b2adc86677d215d3d8071393d2a69357dd844821 (diff) | |
download | glibc-effe3e2d1a084fde8fae9b91febb28c97781f9e5.tar.gz glibc-effe3e2d1a084fde8fae9b91febb28c97781f9e5.tar.xz glibc-effe3e2d1a084fde8fae9b91febb28c97781f9e5.zip |
Updated to fedora-glibc-20060910T1832 cvs/fedora-glibc-2_4_90-31
Diffstat (limited to 'misc')
-rw-r--r-- | misc/sys/mman.h | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/misc/sys/mman.h b/misc/sys/mman.h index d9f4747b7f..4cd8a3fe72 100644 --- a/misc/sys/mman.h +++ b/misc/sys/mman.h @@ -116,14 +116,6 @@ extern int mlockall (int __flags) __THROW; extern int munlockall (void) __THROW; #ifdef __USE_MISC -/* Remap pages mapped by the range [ADDR,ADDR+OLD_LEN) to new length - 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 __flags, ...) __THROW; - /* mincore returns the memory residency status of the pages in the current process's address space specified by [start, start + len). The status is returned in a vector of bytes. The least significant @@ -131,6 +123,16 @@ extern void *mremap (void *__addr, size_t __old_len, size_t __new_len, it is zero. */ extern int mincore (void *__start, size_t __len, unsigned char *__vec) __THROW; +#endif + +#ifdef __USE_GNU +/* Remap pages mapped by the range [ADDR,ADDR+OLD_LEN) to new length + 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 __flags, ...) __THROW; /* Remap arbitrary pages of a shared backing store within an existing VMA. */ |