pub unsafe fn truncate(path: *const char, length: off_t) -> Result<int>
Truncate a file to a specified length.