PHP Manual
PrevNext

ftruncate

(PHP 4 >= 4.0.0)

ftruncate -- Truncates a file to a given length.

Description

int ftruncate ( int fp, int size)

Takes the filepointer, fp, and truncates the file to length, size. This function returns TRUE on success and FALSE on failure.


PrevHomeNext
ftellUpfwrite

AltStyle によって変換されたページ (->オリジナル) /