internal static int NonWindowsGetProcessParentPid(int pid) { return(IsMacOS ? Unix.NativeMethods.GetPPid(pid) : Unix.GetProcFSParentPid(pid)); }