Xref: utzoo comp.std.c:177 comp.lang.c:11367 Path: utzoo!attcan!uunet!lll-winken!lll-lcc!ames!mailrus!tut.cis.ohio-state.edu!rutgers!att!icus!dasys1!tneff From: tneff@dasys1.UUCP (Tom Neff) Newsgroups: comp.std.c,comp.lang.c Subject: Re: Help me translate into C Message-ID: <5584@dasys1.UUCP> Date: 15 Jul 88 16:09:07 GMT References: <11475@steinmetz.ge.com> Reply-To: tneff@dasys1.UUCP (Tom Neff) Distribution: na Organization: Independent Users Guild Lines: 13 In article <11475@steinmetz.ge.com> davidsen@crdos1.UUCP (bill davidsen) writes: > [Turbo C?] also uses a few things like O_BINARY which means untranslated on >systems having funny filetypes like DOS and VMS. Doug Gwyn answered Bill's questions in detail. I just want to point out that MS-DOS has no "funny filetypes." All typing is by convention only, everything is really just a string of bytes. The O_BINARY flag controls the way the DOS "C" runtime behaves on things like end-of-file (soft via ^Z or hard via filesize) and newline (swallow ^M's or not). -- Tom Neff UUCP: ...!cmcl2!phri!dasys1!tneff "None of your toys CIS: 76556,2536 MCI: TNEFF will function..." GEnie: TOMNEFF BIX: t.neff (no kidding)