Re: How to wait for file closing?
- Posted by SnakeCharmer Dec 13, 2012
- 1559 views
FredRansom said...
After the last write, just before the fclose, place this statement: fflush (file);
Thanks!
About pipes: I considered this option, but files are more convenient in my case.