| delorie.com/archives/browse.cgi | search |
| Date: | Wed, 13 Sep 2000 13:29:28 -0400 |
| Message-Id: | <200009131729.NAA13895@envy.delorie.com> |
| From: | DJ Delorie <dj AT delorie DOT com> |
| To: | djgpp-workers AT delorie DOT com |
| In-reply-to: | <200009122054.WAA18229@father.ludd.luth.se> (message from Martin |
| Str|mberg on Tue, 12 Sep 2000 22:54:35 +0200 (MET DST)) | |
| Subject: | Re: Bug 000323 |
| References: | <200009122054 DOT WAA18229 AT father DOT ludd DOT luth DOT se> |
| Reply-To: | djgpp-workers AT delorie DOT com |
| Errors-To: | nobody AT delorie DOT com |
| X-Mailing-List: | djgpp-workers AT delorie DOT com |
| X-Unsubscribes-To: | listserv AT delorie DOT com |
> Is it as easy as seeking to the end of the file during fopen() and > letting *seek() do nothing? No. You have to fseek on every fwrite. Why? Because "a+" allows you to read from anywhere, but only write to EOF.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |