ProcessID

type ProcessID = CPid
base System.Posix.Types
getParentProcessID :: IO ProcessID
unix System.Posix.Process.ByteString, unix System.Posix.Process
getProcessID calls getppid to obtain the ProcessID for the parent of the current process.
getProcessID :: IO ProcessID
unix System.Posix.Process.ByteString, unix System.Posix.Process
getProcessID calls getpid to obtain the ProcessID for the current process.