[net.bugs.v7] fseek on pipe

henry@utzoo.UUCP (Henry Spencer) (05/09/85)

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