From owner-freebsd-questions Sat Jan 15 15:37:36 2000 Delivered-To: freebsd-questions@freebsd.org Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (Postfix) with ESMTP id 93310150F1 for ; Sat, 15 Jan 2000 15:37:28 -0800 (PST) (envelope-from ben@scientia.demon.co.uk) Received: from strontium.scientia.demon.co.uk ([192.168.91.36] ident=exim) by scientia.demon.co.uk with esmtp (Exim 3.12 #1) id 129bPu-000J7u-00; Sat, 15 Jan 2000 22:11:30 +0000 Received: (from ben) by strontium.scientia.demon.co.uk (Exim 3.12 #1) id 129bPu-0000P7-00; Sat, 15 Jan 2000 22:11:30 +0000 Date: Sat, 15 Jan 2000 22:11:30 +0000 From: Ben Smithurst To: Carlos Maracabay Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Language C on Freebsd Release 3.3 Question. Message-ID: <20000115221130.C1516@strontium.scientia.demon.co.uk> References: <20000115185839.4740.qmail@web113.yahoomail.com> <20000115192629.A970@strontium.scientia.demon.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <20000115192629.A970@strontium.scientia.demon.co.uk> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > == -1, which will be 1 if open fails, and 0 if it doesn't. this > will cause your code to try to read from standard input, or output, > respectively. sorry, I mean "standard output, or input, respectively", of course. -- Ben Smithurst | PGP: 0x99392F7D ben@scientia.demon.co.uk | key available from keyservers and | ben+pgp@scientia.demon.co.uk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message