From owner-freebsd-arch@FreeBSD.ORG Sat May 9 17:42:36 2009 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4A2AB106566B for ; Sat, 9 May 2009 17:42:36 +0000 (UTC) (envelope-from gary.jennejohn@freenet.de) Received: from mout3.freenet.de (mout3.freenet.de [IPv6:2001:748:100:40::2:5]) by mx1.freebsd.org (Postfix) with ESMTP id D92B18FC19 for ; Sat, 9 May 2009 17:42:35 +0000 (UTC) (envelope-from gary.jennejohn@freenet.de) Received: from [195.4.92.21] (helo=11.mx.freenet.de) by mout3.freenet.de with esmtpa (ID gary.jennejohn@freenet.de) (port 25) (Exim 4.69 #88) id 1M2qZG-0001OF-Mx; Sat, 09 May 2009 19:42:34 +0200 Received: from c-76-103-209-219.hsd1.ca.comcast.net ([76.103.209.219]:33101 helo=lap.jennejohn.org) by 11.mx.freenet.de with esmtpa (ID gary.jennejohn@freenet.de) (port 25) (Exim 4.69 #79) id 1M2qZG-00006h-78; Sat, 09 May 2009 19:42:34 +0200 Date: Sat, 9 May 2009 19:42:31 +0200 From: Gary Jennejohn To: Lothar Scholz Message-ID: <20090509194231.57543f41@lap.jennejohn.org> In-Reply-To: <976698487.20090509182307@scriptolutions.com> References: <976698487.20090509182307@scriptolutions.com> X-Mailer: Claws Mail 3.7.1 (GTK+ 2.14.7; i386-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-arch@freebsd.org Subject: Re: Are named posix semaphores not implemented? X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gary.jennejohn@freenet.de List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 May 2009 17:42:36 -0000 On Sat, 9 May 2009 18:23:07 +0200 Lothar Scholz wrote: > Hello, > > i tried to port a program using PCBSD based on FreeBSD 7.1 > and the small test program > > #include > #include > #include > > int main() { > sem_t* s = sem_open("foobar", O_CREAT|O_EXCL); > if (s == SEM_FAILED) perror("sem_open"); > } > > raises a "bad system call 12" signal > But from the manpage of sem_open tells me that it should > be there since FreeBSD 5.0? > > Please don't tell me that i have to rewrite the code. > According to the man page name MUST start with '/'. --- Gary Jennejohn