From owner-freebsd-arch@FreeBSD.ORG Sat May 9 18:25:29 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 85A7E1065676 for ; Sat, 9 May 2009 18:25:29 +0000 (UTC) (envelope-from jille@quis.cx) Received: from istud.quis.cx (ip83-113-174-82.adsl2.static.versatel.nl [82.174.113.83]) by mx1.freebsd.org (Postfix) with ESMTP id 44DAE8FC14 for ; Sat, 9 May 2009 18:25:29 +0000 (UTC) (envelope-from jille@quis.cx) Received: from [192.168.1.4] (ille [192.168.1.4]) by istud.quis.cx (Postfix) with ESMTP id A516C5C20; Sat, 9 May 2009 20:09:16 +0200 (CEST) Message-ID: <4A05C6CA.1080104@quis.cx> Date: Sat, 09 May 2009 20:09:14 +0200 From: Jille Timmermans User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: Lothar Scholz References: <976698487.20090509182307@scriptolutions.com> In-Reply-To: <976698487.20090509182307@scriptolutions.com> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 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 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 18:25:29 -0000 Lothar Scholz schreef: > 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. > > Have you removed "options SYSVSEM" from your kernel configuration ? -- Jille