These bring us to the end of the file, and then sets the length to zero.
The camelbook on seek tells me that seek(MYFILE, 0, 0); brings the file pointer to the beginning of a file.
In reply to Re: File Locking
by Anonymous Monk
in thread File Locking
by turnstep
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |