Mail Archives: djgpp-workers/1999/10/22/14:32:44
Hello.
Alain Magloire wrote:
> However all implemetations have seen just call fseek()
>
> int fsetpos(FILE *stream, const fpos_t *pos) {
> return fseek(stream, *pos, SEEK_SET);
> }
> and let errno propagates up,
That's exactly my point. fsetpos() was calling fseek() and then ignoring
its return code! My point about returning -1 on EFAULT is not so
important.
Bye,
--
Richard Dawe
richdawe AT bigfoot DOT com ICQ 47595498 http://www.bigfoot.com/~richdawe/
- Raw text -