Subject: Re: fifo & stdio ?
To: Simon Burge <simonb@NetBSD.ORG>
From: Hubert Feyrer <feyrer@rfhs8012.fh-regensburg.de>
List: netbsd-users
Date: 06/14/1999 00:57:38
On Mon, 14 Jun 1999, Simon Burge wrote:
> If I were programming this I'd probably use select() and read() and not
> stdio functions...
Dito - alas, this is to fix gqmpeg, the world's most famous (;-) mp3
player.
> That said, adding
>
> if (feof(fp) != NULL)
> rewind(fp);
>
> after the "oink" printf() seems to give the behaviour you want.
That did the thing - thanks a lot! :)
- Hubert
--
NetBSD - Better for your uptime than Viagra