Skip to main content

read

Function read 

Source
pub fn read(pid: u32) -> Option<SessionMeta>
Expand description

Read + parse the per-PID session file. Returns None on any failure path (missing, unreadable, malformed JSON, unrecognised status) so the caller can fall back to another signal.