Home
last modified time | relevance | path

Searched refs:pw (Results 1 – 1 of 1) sorted by relevance

/DragonOS/user/apps/test-chown/src/
H A Dmain.rs81 let pw = unsafe { getpwnam(CString::new(new_owner)?.as_ptr()) }; in main() localVariable
84 assert!(!pw.is_null(), "Invalid user name"); in main()
87 let new_uid = unsafe { (*pw).pw_uid }; in main()