[][src]Function fungus::sys::user::geteuid

pub fn geteuid() -> u32

Returns the user effective ID for the current user.

Examples

use fungus::prelude::*;

assert!(user::geteuid() != 0);