From owner-freebsd-questions@FreeBSD.ORG Fri Oct 15 14:37:03 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2F76F16A4CE for ; Fri, 15 Oct 2004 14:37:03 +0000 (GMT) Received: from hotmail.com (bay15-f23.bay15.hotmail.com [65.54.185.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0B58143D2F for ; Fri, 15 Oct 2004 14:37:03 +0000 (GMT) (envelope-from carlj1752@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 15 Oct 2004 07:37:02 -0700 Received: from 18.97.6.72 by by15fd.bay15.hotmail.msn.com with HTTP; Fri, 15 Oct 2004 14:36:07 GMT X-Originating-IP: [18.97.6.72] X-Originating-Email: [carlj1752@hotmail.com] X-Sender: carlj1752@hotmail.com From: "Carl J" To: freebsd-questions@freebsd.org Date: Fri, 15 Oct 2004 10:36:07 -0400 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 15 Oct 2004 14:37:02.0451 (UTC) FILETIME=[6F56CC30:01C4B2C4] Subject: open() vs the lowest unused file descriptor X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Oct 2004 14:37:03 -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. I'm just wondering: does FreeBSD 4.x and 5.x promise that? If so, I think we should update the manpage to match SUSv2 more closely. Thank you! - Carl _________________________________________________________________ FREE pop-up blocking with the new MSN Toolbar – get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/