how to check file is open

imcc imcc at spsoftindia.com
Fri Apr 7 12:12:07 UTC 2006


Hi,

I am currently working on backup application which portable

On Linux, windows and MAC-Osx .

 

While taking the backup I want to exclude those files 

Which are open.

 

  

In Linux lsof uses   /proc/<pid>/fd  directory  to list 

Open files.

 

Q. In windows how to check whether a file is already Open or not. 

 

Is there any API for this checking or file property to check?

 

 

 

 

                                                Sunil

                                                            SPSOFT

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20060407/5fadff67/attachment.htm>


More information about the fedora-devel-list mailing list