Xref: utzoo comp.os.msdos.programmer:2657 comp.lang.c:35035 Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!ucsd!ucbvax!bloom-beacon!eru!hagbard!sunic!news.funet.fi!hydra!kreeta!wirzeniu From: wirzeniu@cs.Helsinki.FI (Lars Wirzenius) Newsgroups: comp.os.msdos.programmer,comp.lang.c Subject: Re: Turbo C and ^Z's Message-ID: <10251@hydra.Helsinki.FI> Date: 3 Jan 91 17:54:57 GMT References: Sender: news@cs.Helsinki.FI Organization: University of Helsinki, Department of Computer Science Lines: 7 In article otto@tukki.jyu.fi (Otto J. Makela) writes: > if(f=fopen(filename,"a+b")) { "a" means that all writes happen at the end of the file, use "r+b" instead. -- Lars Wirzenius wirzeniu@cs.helsinki.fi wirzenius@cc.helsinki.fi