Interactive UNIX; a BSD direvitive.
I am trying to write a program that will wake up every once in a while
and look for files to work on. These files arrive by a copy command
in another process. I don't have access to the other process, so
there is no interprocess communication possible. When it sees a file
name that it is waiting for, it opens it and begins work.
Unfortunately, I haven't been able to figure out how to tell if the
file is all there before starting work, or even when I get an eof
condition if that is truely the end of the file or all that has been
copied so far.
Anybody have any ideas. Thanks.