delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/03/13/04:05:31

X-Spam-Check-By: sourceware.org
Date: Tue, 13 Mar 2007 10:05:06 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: missing shm_open and shm_unlink
Message-ID: <20070313090506.GC24859@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <OFF82E785E DOT 4F5B67E9-ON8825729C DOT 005F50DC-8825729C DOT 00636538 AT vtech DOT com>
Mime-Version: 1.0
In-Reply-To: <OFF82E785E.4F5B67E9-ON8825729C.005F50DC-8825729C.00636538@vtech.com>
User-Agent: Mutt/1.4.2.2i
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin 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.


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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019