Function sys_stat

Source
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.