Skip to main content

stat_to_old_stat

Function stat_to_old_stat 

Source
pub fn stat_to_old_stat(st: &stat) -> Result<[u8; 64], i32>
Expand description

Converts the host’s struct stat into the old 32-bit struct stat (64 bytes), shared by i386 and ARM.

Fields that do not fit yield EOVERFLOW, as the kernel does.