in reply to Re: File Read
in thread File Read
I understand that this will Truncate the file but should it be truncating it when it is opened? I want it to truncate on write of data. Is there something different that I need to do to make that work? I inadvertantly left out of the code supplied previously that in the else I printf file_name "1"; to lock the file if it wasnt locked. So another Process cannot access it while This one is using it. I am essentially serializing a Parallel Process with these locks because it has to be due to database and workfile access.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: File Read
by rheaton (Acolyte) on Mar 12, 2007 at 13:36 UTC | |
by Fletch (Bishop) on Mar 12, 2007 at 14:03 UTC | |
by diotalevi (Canon) on Mar 12, 2007 at 16:21 UTC |