From owner-freebsd-stable@FreeBSD.ORG Mon Mar 28 20:03:10 2011 Return-Path: Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 26505106564A for ; Mon, 28 Mar 2011 20:03:10 +0000 (UTC) (envelope-from dlt@mebtel.net) Received: from mail960c35.nsolutionszone.com (mail960c35.nsolutionszone.com [209.235.152.150]) by mx1.freebsd.org (Postfix) with ESMTP id B3B528FC12 for ; Mon, 28 Mar 2011 20:03:09 +0000 (UTC) X-POP-User: dlt.mebtel.net Received: from localhost (99-194-23-158.dyn.centurytel.net [99.194.23.158]) by mail960c35.nsolutionszone.com (8.13.6/8.13.1) with ESMTP id p2SHJc1J030974 for ; Mon, 28 Mar 2011 17:19:40 GMT Date: Mon, 28 Mar 2011 13:19:38 -0400 From: Derek Tattersall To: Stable List Message-ID: <20110328171938.GA8681@lorne.arm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-CSC: 0 X-CHA: v=1.1 cv=+CM8qBcK0/djPaTo1AtPGqkTQ+nLFRwUxUpdlw+eXTs= c=1 sm=1 a=z1TLwsU0kBEA:10 a=9CWlab_pHo8A:10 a=GPr01A5e9VcA:10 a=kj9zAlcOel0A:10 a=5FSmvsqyZ8dLHOg+TByL6Q==:17 a=xwPayol1AAAA:8 a=CjxXgO3LAAAA:8 a=pGLkceISAAAA:8 a=BpwPfq8t89Cq0SKZ2AYA:9 a=c2Jf2JDGRa1s-1cPrbSNjWqkh1gA:4 a=CjuIK1q_8ugA:10 a=0Ob1RWNGeVAA:10 a=rC2wZJ5BpNYA:10 a=MSl-tDqOz04A:10 a=5FSmvsqyZ8dLHOg+TByL6Q==:117 Cc: Subject: Problem using POSIX message queues X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dlt@mebtel.net List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2011 20:03:10 -0000 While trying to develop an understanding of the use POSIX message queues, I found that issuing a mq_open (2) call, resulted in Bad system call: 12 error message. I have tried to run the tools/regression/mqueue tests, but they fail in mq_open with the bad system call error. In addition, the mq_open (2) man page refers to mq_timedreceive (3), mq_timedsend(3) which exist as section 2 man pages and a mq_unlink(3) man page which I can't find at all. I hope I am the first to try the use of the posix message queues and that this is just some teething problems. My test case ran without problems under linux, Fedora 14. -- Best regards, Derek Tattersall dlt@mebtel.net dlt666@yahoo.com dtatters@gmail.com