Article View: comp.os.os2.programmer
Article #2657Re: How do I flush disk buffer?
From: Mike Lempriere
Date: Wed, 09 Dec 1992 19:26
Date: Wed, 09 Dec 1992 19:26
17 lines
1282 bytes
1282 bytes
BJ Hargrave (fattire@vnet.ibm.com) wrote: : In <1fld47INN8fo@hpscit.sc.hp.com> Bruce Kitchin writes: : >Mike Lempriere (mikel@networx.com) wrote: : >: What I really want is simply to tell the dang system to flush the cache : >: to disk for this one file every now and then. I'd like to just start : >: a seperate timer thread that just does a flush call every 15 minutes or : >: so. : >: : : Just do a DosResetBuffer(DosBufReset for 16bit) on the file : handle in question. This will update the dir entry as well as flush out : the file data. Use with DosOpen file handles. : ----------------------------------------------------------------------- : BJ Hargrave Internet: fattire@vnet.ibm.com : Boca Raton, FL IBMIPNet: bjhar@bjhar.bocaraton.ibm.com I knew there had to be an easy way! Thanks a million!
Technical Details
Message-ID:
<1992Dec9.192645.10043@networx.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!psinntp!openwx!mikelReferences:
<19921203.193525.815@almaden.ibm.com>Show Full Headers
Complete Article Headers
Newsgroups: comp.os.os2.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!psinntp!openwx!mikel From: mikel@networx.com (Mike Lempriere) Subject: Re: How do I flush disk buffer? Message-ID: <1992Dec9.192645.10043@networx.com> Sender: usenet@networx.com (Usenet News Account) Organization: NetWorx X-Newsreader: TIN [version 1.1 PL6] References: <19921203.193525.815@almaden.ibm.com> Date: Wed, 9 Dec 1992 19:26:45 GMT Lines: 17