(PHP 4 >= 4.0RC1)
int ftruncate (int fp, int size)
int ftruncate
ファイルポインタfpを引数とし、ファイルを指定した長さ、サイズに丸めます。 この関数は成功時にtrue、失敗時にfalseを返します。