missing shm_open and shm_unlink

Corinna Vinschen corinna-cygwin@cygwin.com
Tue Mar 13 09:05:00 GMT 2007


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.


Corinna

--
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