pub unsafe fn seteuid(uid: uid_t) -> Result<(), Errno>
Set the effective user ID of the calling process to uid.
uid
let ret = unsafe { nc::seteuid(0) }; assert_eq!(ret, Err(nc::EPERM));