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

pub fn getuid() -> u32

Returns the user ID for the current user.

Examples

use fungus::prelude::*;

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