Article View: comp.os.msdos.programmer
Article #4097Re: Turbo C and ^Z's
From: Lars Wirzenius
Date: Thu, 03 Jan 1991 17:54
Date: Thu, 03 Jan 1991 17:54
7 lines
797 bytes
797 bytes
In article <OTTO.91Jan3125711@tukki.jyu.fi> 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
Technical Details
Message-ID:
<10251@hydra.Helsinki.FI>Path:
arc1-ca.pugleaf.net!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!wirzeniuReferences:
<OTTO.91Jan3125711@tukki.jyu.fi>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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: <OTTO.91Jan3125711@tukki.jyu.fi> Sender: news@cs.Helsinki.FI Organization: University of Helsinki, Department of Computer Science Lines: 7