Ns ftruncate

From AOLserver Wiki
Jump to: navigation, search

Man page: http://aolserver.com/docs/tcl/ns_ftruncate.html


NAME

ns_ftruncate - truncate an open Tcl channel to a specified length

SYNOPSIS

ns_ftruncate fileId ?length?

DESCRIPTION

This command truncates an open Tcl channel fileId to the size of length bytes. If length is not specified then it is assumed to be zero. This command is similar to the TclX [ftruncate] command.

SEE ALSO

TclX [ftruncate] [1]


Category Documentation - Category Core Tcl API