Wher is End Of File
lrr at siemens.UUCP
lrr at siemens.UUCP
Tue Apr 16 00:56:00 AEST 1985
The i-node for the file gives the file's size. When you try to read more
than the difference between where you are in the file and the file's size,
the system gives you the minimum and tells you how much it gave you. A read
with a return of zero (assuming none of the other new flags are set) is
interpreted as EOF by standard I/O.
Larry Rogers
Siemens Research and Technology Laboratories
Princeton, NJ 08540
princeton!siemens!jaguar!lrr
609 734 6559
More information about the Comp.unix
mailing list