Subject: Re: fifo & stdio ?
To: None <netbsd-users@netbsd.org>
From: Hubert Feyrer <feyrer@rfhs8012.fh-regensburg.de>
List: netbsd-users
Date: 06/14/1999 01:10:38
> miyu% ./fifo
> fp=0x40093410, fd=3
> oink! feof=0
> oink! feof=1 <- "echo foo >>fifo.pipe" was done here
> oink! feof=1
> ^C
BTW, I've just tested this on both Solaris (2.6/sparc) and Linux, and they
both work fine, without the "if(feof(fp))rewind(fp);" workaround suggested
here. I wonder if something should be adjusted here...
- Hubert
--
NetBSD - Better for your uptime than Viagra