* cygwin.din (shm_open): Export.

(shm_unlink): Export.
	* syscalls.cc (shm_open): New function.
	(shm_unlink): New function.
	* sysconf.cc (sca): Set value of _SC_SHARED_MEMORY_OBJECTS to
	_POSIX_SHARED_MEMORY_OBJECTS.
	* include/cygwin/version.h: Bump API minor number.
	* include/sys/mman.h (shm_open): Add prototype.
	(shm_unlink): Ditto.
This commit is contained in:
Corinna Vinschen
2007-02-08 13:36:53 +00:00
parent d7e4c7a807
commit ce8bab5a92
6 changed files with 66 additions and 2 deletions

View File

@ -67,6 +67,9 @@ extern int munlock (const void *__addr, size_t __len);
extern int posix_madvise (void *__addr, size_t __len, int __advice);
extern int shm_open (const char *__name, int __oflag, mode_t __mode);
extern int shm_unlink (const char *__name);
#ifdef __cplusplus
};
#endif /* __cplusplus */