[ Previous ] [ Contents ] [ Index ] [ Next ]

ns_truncate

Overview

Truncate a file to a specified length

Syntax

ns_truncate filename ?length?

Description

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.

See Also

ns_ftruncate

Top of Page

[ Previous ] [ Contents ] [ Index ] [ Next ]
Copyright © 1996 America Online, Inc.