in reply to testing interface
You'd need to open the file in read-write mode ("+>") and also reset the file pointer to the beginning of the file between every write and read cycle (or seek to where it was before the write) — otherwise, you'd try to read from the position where the write has left the file pointer...
Anyhow, maybe you rather want a pipe?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: testing interface
by ikegami (Patriarch) on Sep 25, 2009 at 19:40 UTC | |
by asr00 (Initiate) on Sep 25, 2009 at 22:12 UTC |