Re: how to append at the end of file ? (to DAN)
- Posted by Rolf Schroeder <rolf.schroeder at DESY.DE> Dec 12, 2000
- 478 views
Dan, I agree: your way is clean, my was quick and dirty. It will only work for open with attribute "a" or "w", and it will fail with attribute "r". If one uses close() without any use of open() then I found: close(n) leads to an error for n<0 or n=1, close(n) leads NOT to an error for n=0 or 1<n , at least on my machine. Nave a nice day, Rolf