* 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

@@ -282,6 +282,8 @@ int access_worker (path_conv&, int) __attribute__ ((regparm (2)));
extern "C" int low_priority_sleep (DWORD) __attribute__ ((regparm (1)));
#define SLEEP_0_STAY_LOW INFINITE
size_t getshmlba (void);
/**************************** Exports ******************************/
extern "C" {