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

ns_ftruncate

Overview

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.

See Also

ns_truncate

Top of Page

[ Previous ] [ Contents ] [ Index ] [ Next ]
Copyright © 1998-99 America Online, Inc.