* 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:
@ -302,12 +302,13 @@ details. */
|
||||
162: New struct ifreq. Export if_nametoindex, if_indextoname,
|
||||
if_nameindex, if_freenameindex.
|
||||
163: Export posix_madvise, posix_memalign.
|
||||
164: Export shm_open, shm_unlink.
|
||||
*/
|
||||
|
||||
/* Note that we forgot to bump the api for ualarm, strtoll, strtoull */
|
||||
|
||||
#define CYGWIN_VERSION_API_MAJOR 0
|
||||
#define CYGWIN_VERSION_API_MINOR 163
|
||||
#define CYGWIN_VERSION_API_MINOR 164
|
||||
|
||||
/* There is also a compatibity version number associated with the
|
||||
shared memory regions. It is incremented when incompatible
|
||||
|
@ -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 */
|
||||
|
Reference in New Issue
Block a user