Date: Thu, 28 Sep 2000 20:53:56 +0200 From: "Eli Zaretskii" Sender: halo1 AT inter DOT net DOT il To: djgpp AT delorie DOT com Message-Id: <7263-Thu28Sep2000205356+0300-eliz@is.elta.co.il> X-Mailer: Emacs 20.6 (via feedmail 8.2.emacs20_6 I) and Blat ver 1.8.5h In-reply-to: <85m6ts8bju1o2atbqhhoolbrbt1f6l73qi@4ax.com> (message from Damian Yerrick on Thu, 28 Sep 2000 14:42:18 GMT) Subject: Re: Rebooting the PC References: <2110-Wed27Sep2000201513+0300-eliz AT is DOT elta DOT co DOT il> <85m6ts8bju1o2atbqhhoolbrbt1f6l73qi AT 4ax DOT com> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: Damian Yerrick > Newsgroups: comp.os.msdos.djgpp > Date: Thu, 28 Sep 2000 14:42:18 GMT > > So what's the call to commit disk caches? Why, `_flush_disk_cache', of course ;-) If you want it portable rather than lean and mean, and want to make sure all DOS buffers are committed to disk as well, call `sync', it invokes `_flush_disk_cache' internally. Hmm, this means that the example of using `_flush_disk_cache' in the Info docs is misleading; I will fix that.