From owner-freebsd-arch@FreeBSD.ORG Sat May 9 16:48:46 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 BFE4B106566C for ; Sat, 9 May 2009 16:48:46 +0000 (UTC) (envelope-from scholz@scriptolutions.com) Received: from dd17920.kasserver.com (dd17920.kasserver.com [85.13.138.236]) by mx1.freebsd.org (Postfix) with ESMTP id 82E948FC12 for ; Sat, 9 May 2009 16:48:46 +0000 (UTC) (envelope-from scholz@scriptolutions.com) Received: from X64SSD (unknown [222.123.80.238]) by dd17920.kasserver.com (Postfix) with ESMTP id 485A5182AA130 for ; Sat, 9 May 2009 18:24:19 +0200 (CEST) Date: Sat, 9 May 2009 18:23:07 +0200 From: Lothar Scholz X-Mailer: The Bat! (v3.62.08) Professional Organization: Scriptolutions X-Priority: 3 (Normal) Message-ID: <976698487.20090509182307@scriptolutions.com> To: freebsd-arch@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Are named posix semaphores not implemented? X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Lothar Scholz 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 16:48:47 -0000 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. -- Best regards, Lothar Scholz mailto:scholz@scriptolutions.com