file-truncate

Name

file-truncate -- Truncate a file.

Type: primop

Synopsis

file-truncate( path len, );

Arguments

path

An instance of <string>

len

An instance of <integer>

Description

Sets the size of the given file. Signals an instace of <os-error> if not successful.