Skip to main content

host_pid

Function host_pid 

Source
pub fn host_pid() -> Option<u32>
Expand description

The process that started this one: for an MCP server, the agent host. None when orphaned (re-parented to init) or the platform cannot tell.