fseek on pipe
Henry Spencer
henry at utzoo.UUCP
Fri May 10 05:54:19 AEST 1985
Be warned that doing an fseek() on a pipe is not merely useless, it will
confuse stdio and foul up further activity on that file descriptor. The
only safe thing is to use lseek() first with a zero offset to find out
whether it's really useful/safe to seek on that descriptor.
This bug exists in V7, and may appear in x.yBSD or System N; I haven't
checked.
--
Henry Spencer @ U of Toronto Zoology
{allegra,ihnp4,linus,decvax}!utzoo!henry
More information about the Net.bugs.v7
mailing list