Subject: Re: fifo & stdio ?
To: None <firstname.lastname@example.org>
From: Hubert Feyrer <email@example.com>
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
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...
NetBSD - Better for your uptime than Viagra