Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site ucbvax.BERKELEY.EDU Path: utzoo!decvax!decwrl!ucbvax!info-vax From: MANSFIELD@DHDEMBL5.BITNET (Niall Mansfield) Newsgroups: mod.computers.vax Subject: VAX C, v2.1, read() restriction. Message-ID: <8603012226.AA15595@ucbvax.berkeley.edu> Date: Thu, 27-Feb-86 07:03:58 EST Article-I.D.: ucbvax.8603012226.AA15595 Posted: Thu Feb 27 07:03:58 1986 Date-Received: Sun, 2-Mar-86 05:48:27 EST Sender: daemon@ucbvax.BERKELEY.EDU Organization: The ARPA Internet Lines: 15 Approved: info-vax@sri-kl.arpa In reply to Jonathan Leech's problem of not being able to read more than one record from an RMS record file: As far as I can remember this restriction was there in earlier versions, but the manual didn't mention it - now it does:- on page 18-10 of the new DEC C-book, in the entry for the read() function:- NOTE In general the read function will not span record boundaries in a record file. A separate read must be done for each record. I'm not surprised you couldn't find it - isn't the new C book a disaster, with its pig's ear of an index and ridiculous re-arrangement and "classification" of the library functions.