pub fn sys_stat(
path: UserConstPtr<c_char>,
statbuf: UserPtr<stat>,
) -> LinuxResult<isize>
Expand description
Get the file metadata by path
and write into statbuf
.
Return 0 if success.
pub fn sys_stat(
path: UserConstPtr<c_char>,
statbuf: UserPtr<stat>,
) -> LinuxResult<isize>
Get the file metadata by path
and write into statbuf
.
Return 0 if success.