pub fn matches_name(pattern: &str, names: &Names<'_>, mode: NameMatch) -> bool
Whether pattern matches a process under mode, by this OS’s rules
pattern
mode