🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #2657

Re: How do I flush disk buffer?

#2657
From: Mike Lempriere
Date: Wed, 09 Dec 1992 19:26
17 lines
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!mikel
References: <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