From owner-freebsd-hackers Sun Apr 16 15:33:59 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id PAA16674 for hackers-outgoing; Sun, 16 Apr 1995 15:33:59 -0700 Received: from sequent.kiae.su (sequent.kiae.su [144.206.136.6]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id PAA16666 for ; Sun, 16 Apr 1995 15:33:56 -0700 Received: by sequent.kiae.su id AA15834 (5.65.kiae-2 ); Mon, 17 Apr 1995 02:29:51 +0400 Received: by sequent.KIAE.su (UUMAIL/2.0); Mon, 17 Apr 95 02:29:50 +0400 Received: (from ache@localhost) by astral.msk.su (8.6.8/8.6.6) id CAA02375; Mon, 17 Apr 1995 02:30:11 +0400 To: Richard Toren , William Wanders Cc: freebsd-hackers@FreeBSD.org References: <199504162101.XAA15103@studs.sci.kun.nl> In-Reply-To: <199504162101.XAA15103@studs.sci.kun.nl>; from William Wanders at Sun, 16 Apr 1995 23:01:33 +0200 (MET DST) Message-Id: Organization: Olahm Ha-Yetzirah Date: Mon, 17 Apr 1995 02:30:10 +0400 X-Mailer: Mail/@ [v2.32 FreeBSD] From: "Andrey A. Chernov, Black Mage" X-Class: Fast Subject: Re: aspfilter & stdin Lines: 23 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Length: 519 Sender: hackers-owner@FreeBSD.org Precedence: bulk In message <199504162101.XAA15103@studs.sci.kun.nl> William Wanders writes: >Try : >#include >main() >{ > rewind(stdin); > return(0); >} Yet one: fpurge(stdin); Maybe it isn't ANSI, but works better. -- Andrey A. Chernov : And I rest so composedly, /Now, in my bed, ache@astral.msk.su : That any beholder /Might fancy me dead - FidoNet: 2:5020/230.3 : Might start at beholding me, /Thinking me dead. RELCOM Team,FreeBSD Team : E.A.Poe From "For Annie" 1849