[ Table Of Contents | Keyword Index ]

ns_ftruncate(n) 4.99 "NaviServer Built-in Commands"

NAME

ns_ftruncate - truncate an open Tcl channel to a specified length

TABLE OF CONTENTS

    TABLE OF CONTENTS
    SYNOPSIS
    DESCRIPTION
    COMMANDS
    SEE ALSO
    KEYWORDS

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.

COMMANDS

ns_ftruncate fileId ?length?

SEE ALSO

nsd

KEYWORDS

TclX , ftruncate