read(2) won't move TK50 past tape file mark
Jeffrey W Percival
jwp at larry.sal.wisc.edu
Thu May 25 08:41:29 AEST 1989
In article <466 at polyof.UUCP> john at polyof.UUCP ( John Buck ) writes:
>Attempting to read(2) past the EOF mark continues to generate "0" byte
>reads, as it should.
The mtio(4) section in the 4.3BSD manual says:
"A zero byte count is returned when a tape mark is read,
but another read will fetch the first record of the new tape file."
so I guess "should" has to have more of a context.
--
Jeff Percival (jwp at larry.sal.wisc.edu)
More information about the Comp.unix.wizards
mailing list