Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Apr 1995 09:14:40 +0200 (MET DST)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        ache@astral.msk.su (Andrey A. Chernov Black Mage)
Cc:        rpt@miles.sso.loral.com, wwanders@sci.kun.nl, freebsd-hackers@FreeBSD.org
Subject:   Re: aspfilter & stdin
Message-ID:  <199504170714.JAA04550@uriah.heep.sax.de>
In-Reply-To: <lIofPalSB8@astral.msk.su> from "Andrey A. Chernov, Black Mage" at Apr 17, 95 02:30:10 am

next in thread | previous in thread | raw e-mail | index | archive | help
As Andrey A. Chernov, Black Mage wrote:
> >#include <stdio.h>
> 
> >main()
> >{
> >	rewind(stdin);
> >	return(0);
> >}
> 
> Yet one:
>       fpurge(stdin);

Won't help.  You didn't notice the ``main()'' above?

Boy, he tries to rewind a pipe from a separate _process_!  This is
impossible.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/
Never trust an operating system you don't have sources for. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199504170714.JAA04550>