* 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

@ -74,7 +74,8 @@ typedef enum
CW_CMDLINE,
CW_CHECK_NTSEC,
CW_GET_ERRNO_FROM_WINERROR,
CW_GET_POSIX_SECURITY_ATTRIBUTE
CW_GET_POSIX_SECURITY_ATTRIBUTE,
CW_GET_SHMLBA
} cygwin_getinfo_types;
#define CW_NEXTPID 0x80000000 /* or with pid to get next one */