fn running(pid: u32) -> bool
Whether the process pid still runs (its pinentry): on Linux, as /proc says; elsewhere not known, taken as running until GnuPG answers.
pid