Guest_imported
New member
- Jan 1, 1970
- 0
I am writing a program to monitor a directory for another application. When my file monitor detects a new file(s) in the directory, it sends a list of the files back to the calling application. The calling app will then attempt to use that file (probably to transfer it somwhere else).
Is there a system call or any way in HP-UX to check if a file is busy (ie. in the middle of being transfered) so that the calling program will not attempt to transfer a busy file??
Is there a system call or any way in HP-UX to check if a file is busy (ie. in the middle of being transfered) so that the calling program will not attempt to transfer a busy file??