ftruncate Truncates a file to a given length Description intftruncate intfp intsize Takes the filepointer, fp, and truncates the file to length, size. This function returns &true; on success and &false; on failure.