Truncate the file behind the given channel at the given location (or the current by default). Operation is (probably) not supported by non-file channels.
chan truncate channelId ?length?
Like the ftruncate() call in C's stdio.
[Category Command]