Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!decvax!harpo!seismo!hao!hplabs!sri-unix!gwyn%brl-vld@BRL-VLD.ARPA From: gwyn%brl-vld@BRL-VLD.ARPA Newsgroups: net.unix-wizards Subject: Re: 4.2BSD _filbuf() question Message-ID: <15476@sri-arpa.UUCP> Date: Sat, 14-Jan-84 13:08:27 EST Article-I.D.: sri-arpa.15476 Posted: Sat Jan 14 13:08:27 1984 Date-Received: Mon, 16-Jan-84 01:19:27 EST Lines: 12 From: Doug Gwyn (VLD/VMB) What would you expect to see when reading past the end of a file, anyway? I can imagine answers for keyboards and magtape but not for files in general. Until you do something to reposition the stream, I see no reason for EOF status to be cleared. In answer to the question of whether it is reasonable to change this behavior, I would say that if it was not explicitly documented then programmers have no right to expect it to be stable and should not have relied upon it in the first place. Remember sprintf() return values?