diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2005-03-08 12:18:47 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2005-03-08 12:18:47 +0300 |
commit | d2428633a692d48c4c4c2e4ff677936e2bd612d8 (patch) | |
tree | 9c4f62e43a09724051510e5af4521c0e3603c09a /winsup/cygwin/include/sys | |
parent | 18edcecfbf74f23bffeefcaca1722407f6a9f597 (diff) |
* mmap.cc (mmap64): Handle MAP_AUTOGROW flag.
(fhandler_disk_file::mmap): Ditto. Clean conditional for readability.
* include/sys/mman.h: Add MAP_AUTOGROW flag.
* include/cygwin/version.h: Bump API minor version.
Diffstat (limited to 'winsup/cygwin/include/sys')
-rw-r--r-- | winsup/cygwin/include/sys/mman.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/winsup/cygwin/include/sys/mman.h b/winsup/cygwin/include/sys/mman.h index 3264739c0..21bf6976d 100644 --- a/winsup/cygwin/include/sys/mman.h +++ b/winsup/cygwin/include/sys/mman.h @@ -30,6 +30,9 @@ extern "C" { #define MAP_FIXED 0x10 #define MAP_ANONYMOUS 0x20 #define MAP_ANON MAP_ANONYMOUS +/* Non-standard flag */ +#define MAP_AUTOGROW 0x8000 /* Grow underlying object to mapping size. + File must be opened for writing. */ #define MAP_FAILED ((void *)-1) |