* syscalls.cc (getshmlba): New function.

* external.cc (cygwin_internal): Add CW_GET_SHMLBA handling.
	* mmap.cc (mmap64): Call getshmlba to evaluate granularity.
	* winsup.h (getshmlba): Add declaration.
	* include/cygwin/version.h: Bump API minor number.
	* include/sys/cygwin.h (cygwin_getinfo_types): Add CW_GET_SHMLBA.
This commit is contained in:
Corinna Vinschen
2003-11-06 14:33:16 +00:00
parent fad5aef860
commit 6ef3b76be2
7 changed files with 28 additions and 9 deletions

View File

@ -224,13 +224,14 @@ details. */
97: Export sem_open, sem_close, sem_timedwait, sem_getvalue.
98: Export _tmpfile64.
99: CW_GET_POSIX_SECURITY_ATTRIBUTE addition to external.cc.
100: CW_GET_SHMLBA addition to external.cc.
*/
/* Note that we forgot to bump the api for ualarm, strtoll, strtoull */
#define CYGWIN_VERSION_API_MAJOR 0
#define CYGWIN_VERSION_API_MINOR 99
#define CYGWIN_VERSION_API_MINOR 100
/* There is also a compatibity version number associated with the
shared memory regions. It is incremented when incompatible