Truncate a file to a specified length
ns_truncate filename ?length?
ns_truncate causes the file specified by filename to have a size of length bytes. If length is not specified, it causes filename to have a size of zero bytes. The file must exist and be a regular file.
ns_ftruncate
Top of Page
Copyright © 1996 America Online, Inc.