Detecting if a file is busy

Bob Fisher nto0302 at dsacg3.dsac.dla.mil
Fri Jun 28 22:23:16 AEST 1991


How can one process tell if a file is open in another process?

I'm writing a daemon that takes files placed into an input directory but
the daemon needs to wait until the file is closed by the process that
is creating it.

This is being developed on an AT&T 3b2 running SVR3.2 but will eventually
be ported it to other hardware.
-- 
Bob Fisher
US Defense Logistics Agency Systems Automation Center
DSAC-TOL, Box 1605, Columbus, OH 43216-5002     614-238-9071 (AV 850-9071)
bfisher at dsac.dla.mil		osu-cis!dsacg1!bfisher



More information about the Comp.lang.c mailing list