Name

file.truncate — Truncates the file.

Synopsis

file.truncate filename newlength

Description

Truncates the file, making it at most newlength bytes long.