Skip to main content

off_t

Function off_t 

Source
fn off_t(offset: u64) -> Result<off_t>
Available on Linux and Unix and crate feature pool only.
Expand description

Converts a file offset to off_t. Fails with EFBIG if it does not fit, the error the kernel reports for an offset past the file size limit.