// Copyright (c) 2021 Xu Shaohua <shaohua@biofan.org>. All rights reserved.
// Use of this source is governed by Apache-2.0 License that can be found
// in the LICENSE file.
use super::error::Error;
fn get_username() -> Result<String, Error> {
let _uid = unsafe { nc::geteuid() };
Ok(String::new())
}
#[inline]
pub fn whoami() -> Result<String, Error> {
get_username()
}