Oh, right, the append prevents the truncate. My mistake.
sysopen is just a different way of getting a file handle. It has no bearing on whether you use buffered or unbuffered I/O with that handle.
- tye
In reply to Re^3: PerlIO, random write file access and O_CREAT (sysopen)
by tye
in thread PerlIO, random write file access and O_CREAT
by vsespb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |