On 12/12/2017 18:08, Marc Pawlowsky wrote:
> Is it intentional that ftruncate does not work with read/write file
> handles, or am I doing somthing wrong?
>
[...]
> int main(int,char**)
> {
> test("rw");
r+ is the mode for read and write.
> test("w");
> return 0;
> }
>