#[repr(C)]pub struct proc_bsdinfo {Show 22 fields
pub pbi_flags: u32,
pub pbi_status: u32,
pub pbi_xstatus: u32,
pub pbi_pid: u32,
pub pbi_ppid: u32,
pub pbi_uid: u32,
pub pbi_gid: u32,
pub pbi_ruid: u32,
pub pbi_rgid: u32,
pub pbi_svuid: u32,
pub pbi_svgid: u32,
pub rfu_1: u32,
pub pbi_comm: [i8; 16],
pub pbi_name: [i8; 32],
pub pbi_nfiles: u32,
pub pbi_pgid: u32,
pub pbi_pjobc: u32,
pub e_tdev: u32,
pub e_tpgid: u32,
pub pbi_nice: i32,
pub pbi_start_tvsec: u64,
pub pbi_start_tvusec: u64,
}
Fields§
§pbi_flags: u32
64bit; emulated etc
pbi_status: u32
§pbi_xstatus: u32
§pbi_pid: u32
§pbi_ppid: u32
§pbi_uid: u32
§pbi_gid: u32
§pbi_ruid: u32
§pbi_rgid: u32
§pbi_svuid: u32
§pbi_svgid: u32
§rfu_1: u32
reserved
pbi_comm: [i8; 16]
§pbi_name: [i8; 32]
Empty if no name is registered
pbi_nfiles: u32
§pbi_pgid: u32
§pbi_pjobc: u32
§e_tdev: u32
Controlling tty dev
e_tpgid: u32
tty process group id
pbi_nice: i32
§pbi_start_tvsec: u64
§pbi_start_tvusec: u64
Trait Implementations§
Source§impl Clone for proc_bsdinfo
impl Clone for proc_bsdinfo
Source§fn clone(&self) -> proc_bsdinfo
fn clone(&self) -> proc_bsdinfo
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for proc_bsdinfo
impl Debug for proc_bsdinfo
impl Copy for proc_bsdinfo
Auto Trait Implementations§
impl Freeze for proc_bsdinfo
impl RefUnwindSafe for proc_bsdinfo
impl Send for proc_bsdinfo
impl Sync for proc_bsdinfo
impl Unpin for proc_bsdinfo
impl UnwindSafe for proc_bsdinfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)