www.delorie.com/archives/browse.cgi | search |
Date: | Fri, 3 Jan 2003 16:08:12 -0500 |
Message-Id: | <200301032108.h03L8CD06116@envy.delorie.com> |
X-Authentication-Warning: | envy.delorie.com: dj set sender to dj AT delorie DOT com using -f |
From: | DJ Delorie <dj AT delorie DOT com> |
To: | djgpp AT delorie DOT com |
In-reply-to: | |
<A0A49F49B15DD3118A9000805F95330D06CBE42B AT fl51m02 DOT space DOT honeywell DOT com> | |
(Edward DOT Younskevicius AT honeywell DOT com) | |
Subject: | Re: Possible bug with fgets() and fputs(), ANSI C, in DJGPP |
References: | <A0A49F49B15DD3118A9000805F95330D06CBE42B AT fl51m02 DOT space DOT honeywell DOT com> |
Reply-To: | djgpp AT delorie DOT com |
Did you do a fsetpos between the write and the next get? You need to do a seek of some sort *every* time you switch between reading and writing, or between writing and reading.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |