Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: $Revision: 1.6.2.14 $; site siemens.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!princeton!siemens!lrr From: lrr@siemens.UUCP Newsgroups: net.unix Subject: Re: Wher is End Of File Message-ID: <24900007@siemens.UUCP> Date: Mon, 15-Apr-85 09:56:00 EST Article-I.D.: siemens.24900007 Posted: Mon Apr 15 09:56:00 1985 Date-Received: Tue, 16-Apr-85 01:04:55 EST References: <591@ahuta.UUCP> Lines: 12 Nf-ID: #R:ahuta:-59100:siemens:24900007:000:455 Nf-From: siemens!lrr Apr 15 09:56:00 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