1
2
3
4
5
6
7
use crate::Pid;

#[heim_derive::os_ext_for(crate::User, cfg(all(unix, not(target_os = "openbsd"))))]
pub trait UserExt {
    /// Returns the user `Pid`
    fn pid(&self) -> Pid;
}