--TEST-- Bug #76803 ftruncate changes file pointer --FILE-- --CLEAN-- --EXPECT-- string(13) "He\0\0\0World" string(2) "He" string(7) "HeWorld"