truncate-file

[procedure] truncate-file fname/fd/port len

Scsh: truncates the specified file to the given length.