Name
ns_ftruncate -- Truncate an open file to a specified
length
Syntax
ns_ftruncate
fileid ?length?
Description
ns_ftruncate causes the open file
specified by fileid to have a size of length bytes. If
length is not specified, it causes the file to have a size of
zero bytes. The file must be open and be a regular file.