
[;1m  truncate(IoDevice)[0m

  Truncates the file referenced by [;;4mIoDevice[0m at the current
  position. Returns [;;4mok[0m if successful, otherwise [;;4m{error, Reason}[0m.
