From owner-freebsd-hackers@FreeBSD.ORG Fri Oct 15 21:32:01 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A9DAA16A4CE for ; Fri, 15 Oct 2004 21:32:01 +0000 (GMT) Received: from hotmail.com (bay15-f3.bay15.hotmail.com [65.54.185.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7811543D2F for ; Fri, 15 Oct 2004 21:32:01 +0000 (GMT) (envelope-from carlj1752@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 15 Oct 2004 14:32:01 -0700 Received: from 18.97.6.72 by by15fd.bay15.hotmail.msn.com with HTTP; Fri, 15 Oct 2004 21:31:38 GMT X-Originating-IP: [18.97.6.72] X-Originating-Email: [carlj1752@hotmail.com] X-Sender: carlj1752@hotmail.com From: "Carl J" To: freebsd-hackers@freebsd.org Date: Fri, 15 Oct 2004 17:31:38 -0400 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 15 Oct 2004 21:32:01.0027 (UTC) FILETIME=[680BFD30:01C4B2FE] X-Mailman-Approved-At: Sat, 16 Oct 2004 12:18:22 +0000 Subject: open() vs the lowest unused file descriptor X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Oct 2004 21:32:01 -0000 Hi! Today I noticed that on Single Unix Specification V2, as well as on the Linux 2.4.26 machine I have here, that the open() call promises to return the lowest unused file descriptor when successful. I'm just wondering: does FreeBSD 4.x and 5.x promise that? If so, should we update the manpage to match SUSv2 more closely? Thank you! - Carl _________________________________________________________________ Don’t just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/