Path: utzoo!mnetor!uunet!lll-winken!lll-tis!ames!necntc!ima!haddock!karl From: karl@haddock.ISC.COM (Karl Heuer) Newsgroups: comp.lang.c Subject: Re: Binary I/O on stdin/stdout? Message-ID: <3295@haddock.ISC.COM> Date: 1 Apr 88 21:30:46 GMT References: <302@goofy.megatest.UUCP> <225800017@uxe.cso.uiuc.edu> <7565@brl-smoke.ARPA> <8036@elsie.UUCP> <3221@haddock.ISC.COM> <2500@bsu-cs.UUCP> Reply-To: karl@haddock.ima.isc.com (Karl Heuer) Organization: Interactive Systems, Boston Lines: 11 Summary: VMS stream-LF In article <2500@bsu-cs.UUCP> dhesi@bsu-cs.UUCP (Rahul Dhesi) writes: >[In VMS] the default type of a file opened from a C program is stream-LF, >which uses records terminated by linefeeds, and does not distinguish between >text and binary formats at all, acting like UNIX and POSIX files. The fact that it's called "stream-LF" (as distinct from "stream-CR" or just "stream") suggests that the newlines which terminate the records have some significance to the OS. Is it legal, for example, to write 70000 characters without a newline? If not, this doesn't seem like an acceptable format for binary mode. Karl W. Z. Heuer (ima!haddock!karl or karl@haddock.isc.com), The Walking Lint