From owner-freebsd-hackers Wed Mar 13 6:47:13 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from loquat.bbn.com (crodrigues.bbn.com [128.89.72.49]) by hub.freebsd.org (Postfix) with ESMTP id 152E637B404 for ; Wed, 13 Mar 2002 06:47:10 -0800 (PST) Received: (from crodrigu@localhost) by loquat.bbn.com (8.11.2/8.11.2) id g2DEl9b03465 for freebsd-hackers@freebsd.org; Wed, 13 Mar 2002 09:47:09 -0500 Date: Wed, 13 Mar 2002 09:47:09 -0500 From: Craig Rodrigues To: freebsd-hackers@freebsd.org Subject: Re: How to correctly detect POSIX 1003.1b features on FreeBSD? Message-ID: <20020313094709.A3421@bbn.com> References: <20020312140904.A799@bbn.com> <3C8E742C.7C2E63B8@mindspring.com> <20020312193514.A2226@bbn.com> <20020313005940.GB32410@elvis.mu.org> <20020312201314.A2345@bbn.com> <3C8EB31E.19382903@mindspring.com> <20020312214007.A2526@bbn.com> <3C8F0089.40C63E1D@mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3C8F0089.40C63E1D@mindspring.com>; from tlambert2@mindspring.com on Tue, Mar 12, 2002 at 11:32:25PM -0800 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Mar 12, 2002 at 11:32:25PM -0800, Terry Lambert wrote: > The POSIX specification itself is a better reference for > POSIX. The copy I have is old, and the Single Unix > Specifications I have (the Go Solo 2, and the earlier Draft > of the Spec. 1770 from the UNIX International FTP site > before it dies in the mid 1990's) aren't exactly the same > thing as POSIX (they are X/Open documents, not IEEE). > > Unfortunately, the real thing is expensive, but necessary, > if you are going to use the features it defines in as > portable a way as possible. The Single UNIX Specification, Version 3 was released recently, incorporating POSIX 1003.1-2001. I think the standard is available for free (unlike the older POSIX standards) on the web: http://www.unix-systems.org/version3/ > > The RT stuff is the one listed; the AIO stuff, I'd have to > look up; have you found it yet? Or do I need to go diving? The AIO stuff looks to be there in FreeBSD for the most part. Unfortunately in ACE, there is a interdependency between the AIO code and RT signals, so you either have to have all the features implemented, or you can't use any of them. Is there a maintainer or set of maintainers who looks at POSIX stuff for FreeBSD? I notice that in /usr/src/sys/posix4/, there is some code for things like POSIX message queues. Is that code maintained, or has it been deprecated in favor of kqueue? I don't want to get into a debate about the technical merits of POSIX, but I have worked on some projects where adhering to POSIX api's was actually a project requirement due to customer demand. Thanks again. -- Craig Rodrigues Distributed Systems and Logistics, Office 6/304 crodrigu@bbn.com BBN Technologies, a Verizon company (617) 873-4725 Cambridge, MA To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message