Xref: utzoo comp.lang.c:31921 comp.sys.ibm.pc.misc:1766 Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!sun-barr!cs.utexas.edu!swrinde!mips!zaphod.mps.ohio-state.edu!samsung!noose.ecn.purdue.edu!mentor.cc.purdue.edu!edgincd2 From: edgincd2@mentor.cc.purdue.edu (Chris Edgington *Computer Science Major*) Newsgroups: comp.lang.c,comp.sys.ibm.pc.misc Subject: Re: Turbo C, fopen(), fprintf() and ^Z - I need help!! Summary: Maybe open in binary moded use fsetpos to start at the ^Z Message-ID: <14084@mentor.cc.purdue.edu> Date: 18 Sep 90 07:45:25 GMT References: <38742@ucbvax.BERKELEY.EDU> Followup-To: comp.lang.c Organization: Purdue University Lines: 11 In article <38742@ucbvax.BERKELEY.EDU>, brand@janus.Berkeley.EDU (Graham Brand) writes: > instruction. The problem that I am having is that the line that is > appended in the file is preceeded with a ^Z which makes the data > invisible when a type command is issued from MSDOS. I can use vi and Is the ^Z leftover from the original dos file or is it the first character of the append data?? If it is leftover from the original file, you could you fsetpos to set the position for writing as eof(original)-1, then it would erase the ^Z Chris