missing shm_open and shm_unlink

rnbhays@rochester.rr.com rnbhays@rochester.rr.com
Fri Feb 29 22:08:00 GMT 2008

In reply to Don Marquardt's initial question, Corinna indicated the shm_open and shm_unlink would  be supported in the next release. I am using the followign version using the uname -a command 

CYGWIN_NT-5.1 1.5.25(0.156/4/2) 2007-12-14 19:21 i686 Cygwin

The two commands do not seem to be supported yet. The version mentioned in Corinna's response is 1.5.24. I am what looks to be the next version. I looked in sys/mman.h and do not see these two function prototypes. Is there a plan to add this functionality?


Rex Hays
rnbhays at rochester dot rr dot com

On Mar 12 10:05, Don Marquardt wrote:
> I am building an application that will used shared memory and I have tried 
> to compile the attached source file. I have version 3.4.4-3 of the gcc 
> compiler and appropriate support libraries. 
> If I use a simple gcc command it complains 
> $ gcc -Wall -Werror writer.c
> writer.c: In function `main':
> writer.c:34: warning: implicit declaration of function `shm_open'
> writer.c:85: warning: implicit declaration of function `shm_unlink'

POSIX shared memory objects are not implemented in Cygwin up to 1.5.24.
The next release will contain an implementation, but for the time being
just use standard anonymous shared memory.


Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

More information about the Cygwin mailing list