MCPcopy Create free account
hub / github.com/block/buzz / BSDInfo

Class BSDInfo

desktop/src-tauri/src/managed_agents/runtime.rs:483–489  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

481#[cfg(target_os = "macos")]
482#[repr(C)]
483struct BSDInfo {
484 _flags_status_xstatus: [u8; 12], // pbi_flags + pbi_status + pbi_xstatus
485 pbi_pid: u32, // offset 12
486 pbi_ppid: u32, // offset 16
487 pbi_uid: u32, // offset 20
488 _rest: [u8; 112],
489}
490
491#[cfg(target_os = "macos")]
492const _: () = assert!(std::mem::size_of::<BSDInfo>() == 136);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected