Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!olivea!uunet!zaphod.mps.ohio-state.edu!sdd.hp.com!ucsd!hub.ucsb.edu!ucsbuxa!6600bori From: 6600bori@ucsbuxa.ucsb.edu (Boris Burtin) Newsgroups: comp.lang.c Subject: writing a file byte by byte Message-ID: <9527@hub.ucsb.edu> Date: 28 Feb 91 18:57:28 GMT Sender: news@hub.ucsb.edu Distribution: comp Lines: 7 I'm using Turbo C 2.0 and DOS 3.3, and I'm attempting to write 8166 bytes to a file (for those who know what I'm talking about, this is a MIDI sysex file). By the MIDIEX standard, this file should be 8166 bytes long, but when I write it, it turns out to be some 8300 or so bytes long. Does anyone know how to solve this problem? Thanks... - Boris Burtin