diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-03-03 09:45:34 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-03-03 09:45:34 +0000 |
commit | 0ddc17ba4b91327a46f69cd206c8959d09a96fe7 (patch) | |
tree | a4709544a2e1251997dc050c7018d748a744ad48 /misc/sys/mman.h | |
parent | a49f57629f4e6cf1966627015f4f10d3ca47ddfc (diff) | |
download | glibc-0ddc17ba4b91327a46f69cd206c8959d09a96fe7.tar.gz glibc-0ddc17ba4b91327a46f69cd206c8959d09a96fe7.tar.xz glibc-0ddc17ba4b91327a46f69cd206c8959d09a96fe7.zip |
Add prototype for remap_file_pages.
Diffstat (limited to 'misc/sys/mman.h')
-rw-r--r-- | misc/sys/mman.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/misc/sys/mman.h b/misc/sys/mman.h index c0dd39e320..8ca6539e19 100644 --- a/misc/sys/mman.h +++ b/misc/sys/mman.h @@ -1,5 +1,5 @@ /* Definitions for BSD-style memory management. - Copyright (C) 1994-1999, 2000 Free Software Foundation, Inc. + Copyright (C) 1994-1999, 2000, 2003 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -124,7 +124,13 @@ extern void *mremap (void *__addr, size_t __old_len, size_t __new_len, The status is returned in a vector of bytes. The least significant bit of each byte is 1 if the referenced page is in memory, otherwise it is zero. */ -extern int mincore (void *__start, size_t __len, unsigned char *__vec); +extern int mincore (void *__start, size_t __len, unsigned char *__vec) + __THROW; + +/* Remap arbitrary pages of a shared backing store within an existing + VMA. */ +extern int remap_file_pages (void *__start, size_t __size, int __prot, + size_t __pgoff, int __flags) __THROW; #endif |