[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

how to check file is open



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

 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]