Tcl Powered!NeoWebScript

Home
 
Download
User Info
New User FAQ
Tutorials
Demos
Commands
Variables
Troubleshooting
Sysop Info
Sysop FAQ
Theory
Installation
Management
Tests
Troubleshooting
Feedback
Resources
Release Notes
Credits
Disclaimer
FTRUNCATE - Extended TCL
Synopsis * Description

Truncate a file to have a length of, at most, newsize bytes

Synopsis

  • ftruncate [-fileId] file newsize

Description

Truncate a file to have a length of at most newsize bytes.

If the option -fileid is specified, file is an open file identifier, otherwise it is a file path.

This command is not available or not fully func- tional if the underlying operating system support is not available. The command infox have_truncate will indicate if this command may truncate by file path. The command infox have_ftruncate will indi- cate if this command may truncate by file id.

Copyright © 1995-1999 NeoSoft Inc., 1770 St. James Place, Suite 500, Houston, TX 77056 USA. All Rights Reserved