Function nix::sys::personality::get [−][src]
pub fn get() -> Result<Persona>
Expand description
Retrieve the current process personality.
Returns a Result containing a Persona instance.
Example:
let pers = personality::get().unwrap(); assert!(!pers.contains(Persona::WHOLE_SECONDS));