From owner-freebsd-arch Tue Sep 10 17: 0: 6 2002 Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B947137B400 for ; Tue, 10 Sep 2002 17:00:03 -0700 (PDT) Received: from InterJet.dellroad.org (adsl-63-194-81-26.dsl.snfc21.pacbell.net [63.194.81.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 353DA43E4A for ; Tue, 10 Sep 2002 17:00:03 -0700 (PDT) (envelope-from archie@dellroad.org) Received: from arch20m.dellroad.org (arch20m.dellroad.org [10.1.1.20]) by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id QAA63011; Tue, 10 Sep 2002 16:55:38 -0700 (PDT) Received: (from archie@localhost) by arch20m.dellroad.org (8.11.6/8.11.6) id g8ANruD35233; Tue, 10 Sep 2002 16:53:56 -0700 (PDT) (envelope-from archie) From: Archie Cobbs Message-Id: <200209102353.g8ANruD35233@arch20m.dellroad.org> Subject: Re: /dev/stdout behavior In-Reply-To: <200209102200.SAA07377@thunderer.cnchost.com> "from Bakul Shah at Sep 10, 2002 03:00:04 pm" To: Bakul Shah Date: Tue, 10 Sep 2002 16:53:56 -0700 (PDT) Cc: freebsd-arch@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL88 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Bakul Shah writes: > > > You need to fix your test program similarly and run it under > > > Linux to see if the two OSes behave differently. > > > > They do behave differently, even after adjusting '0' to '1': > > > > $ uname -a > > Linux foobar.packetdesign.com 2.4.9 #19 SMP Mon Oct 29 11:55:31 PST 2001 i686 unknown > > $ ./flags > > O_NONBLOCK is not set > > Hmmm... are /dev/stdin etc. part of Posix? If not, linux can > do what it wants. That was my original question :-) -Archie __________________________________________________________________________ Archie Cobbs * Packet Design * http://www.packetdesign.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message