🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c++
Article #72

Scan for hard disk I/O ???

#72
From: jordi
Date: Mon, 10 Aug 1992 07:59
21 lines
1381 bytes
Hello,
My application has to do some things only when something is written to disk.
I would like to know if there is a way to know when a file is written to
disk (from another application), directly from a C++ function (I use 
Turbo C++ 3.0 on a PC).
I think I have to use interrupts. I also would like to know if it is possible
to know when the file is closed (thus, I can open it and read its data).
It has to be implemented in a data acquisition system.

Thanks for any help.
Sincerely,

Steve Jordi                

+-------------------------+----------------------------------------------+
| Dpt of Geophysics       | Fax: + 41 22 320-5732                        |
| University of Geneva    |                                              |
| 13, Rue des Maraichers  | E-Mail: Internet:   jordi@sc2a.unige.ch      |
| 1211 GENEVA 4           |         Bitnet:     jordi@cgeuge52.bitnet    |
| Switzerland             |         Compuserve: 70143,3056 (once a week) |
+-------------------------+----------------------------------------------+ 
Technical Details
Message-ID: <1992Aug10.095953.958@sc2a.unige.ch>
Path: arc1-ca.pugleaf.net!sparky!uunet!dtix!darwin.sura.net!Sirius.dfn.de!chx400!ugun2b!ugsc2a!jordi

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!dtix!darwin.sura.net!Sirius.dfn.de!chx400!ugun2b!ugsc2a!jordi
From: jordi@sc2a.unige.ch
Newsgroups: comp.std.c++
Subject: Scan for hard disk I/O ???
Message-ID: <1992Aug10.095953.958@sc2a.unige.ch>
Date: 10 Aug 92 07:59:53 GMT
Organization: University of Geneva, Switzerland
Lines: 21