mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 19:47:45 +00:00
whoami: use libc::uid_t where appropriate
This commit is contained in:
parent
68c42a6a39
commit
d24327b243
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ mod platform {
|
|||
#[path = "../../common/c_types.rs"] mod c_types;
|
||||
|
||||
extern {
|
||||
pub fn geteuid() -> libc::c_int;
|
||||
pub fn geteuid() -> libc::uid_t;
|
||||
}
|
||||
|
||||
pub unsafe fn getusername() -> String {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue