1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-29 12:07:46 +00:00

whoami: use libc::uid_t where appropriate

This commit is contained in:
Michael Gehring 2014-06-16 22:12:36 +02:00
parent 68c42a6a39
commit d24327b243

View file

@ -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 {