PyDocs

Nav

Generic Operating System Services

ftruncate

os

functionUnixWindows
  • ftruncate(fd, length, /)
Truncate a file, specified by file descriptor, to a specific length.
Changed in 3.5
  • 3.5: Added support for Windows
0 Examples
No examples for os/ftruncate.
See Also
No see-alsos for os/ftruncate
0 Notes
No notes for ftruncate