pub fn sys_unlinkat(
dirfd: c_int,
path: UserConstPtr<c_char>,
flags: u32,
) -> LinuxResult<isize>
Expand description
remove link of specific file (can be used to delete file) dir_fd: the directory of link to be removed path: the name of link to be removed flags: can be 0 or AT_REMOVEDIR return 0 when success, else return -1