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!watmath!clyde!cbosgd!ucbvax!info-vax From: sasaki@HARVARD.HARVARD.EDU (Marty Sasaki) Newsgroups: mod.computers.vax Subject: read() in VAX C 2.1 (VMS 4.2) Message-ID: <8603011315.AA10470@ucbvax.berkeley.edu> Date: Tue, 25-Feb-86 23:23:11 EST Article-I.D.: ucbvax.8603011315.AA10470 Posted: Tue Feb 25 23:23:11 1986 Date-Received: Sun, 2-Mar-86 02:29:30 EST Sender: daemon@ucbvax.BERKELEY.EDU Organization: The ARPA Internet Lines: 11 Approved: info-vax@sri-kl.arpa It's a feature. You have to remember that VMS doesn't really know how to deal with files that don't have a record type. In fact, files like .exe's which seem to be without type, are fixed length records of 512 bytes. You can do block read and writes regardless of the underlying format, but you have to be careful to keep things straight since the files do have record attributes. Good luck. Marty Sasaki