File.truncate

Set the file size to be that of the current seek position. The file must be writable for this to succeed.

  1. void truncate()
  2. void truncate(long size)
  3. void truncate()
    class File
    version(Posix)
    void
    truncate
    ()
  4. void truncate(long size)

Meta