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