Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site decwrl.UUCP Path: utzoo!watmath!clyde!burl!ulysses!ucbvax!decwrl!dec-rhea!dec-babel!blickstein From: blickstein@babel.DEC (Dave Blickstein) Newsgroups: net.lang Subject: In response to using FORTRAN files with VAX-11 C Message-ID: <3442@decwrl.UUCP> Date: Mon, 5-Aug-85 11:28:20 EDT Article-I.D.: decwrl.3442 Posted: Mon Aug 5 11:28:20 1985 Date-Received: Tue, 6-Aug-85 11:06:59 EDT Sender: daemon@decwrl.UUCP Organization: Digital Equipment Corporation Lines: 12 There is an undocumented switch tha can be used when the file is opened that will instruct the C RTL NOT to translate the leading character of each record as though it was a FORTRAN carriage control character. It can be used as follows: open ("file.ext", mode, flags, "ctx=nocvt"); or fopen ("file.ext", access, "ctx=nocvt"); If used the entire record is passed to the user, including the leading character.