ProcessGroupID

type ProcessGroupID = CPid
base System.Posix.Types
getProcessGroupID :: IO ProcessGroupID
unix System.Posix.Process.ByteString, unix System.Posix.Process
getProcessGroupID calls getpgrp to obtain the ProcessGroupID for the current process.
getProcessGroupIDOf :: ProcessID -> IO ProcessGroupID
unix System.Posix.Process.ByteString, unix System.Posix.Process
getProcessGroupIDOf pid calls getpgid to obtain the ProcessGroupID for process pid.
getTerminalProcessGroupID :: Fd -> IO ProcessGroupID
unix System.Posix.Terminal, unix System.Posix.Terminal.ByteString
getTerminalProcessGroupID fd calls tcgetpgrp to obtain the ProcessGroupID of the foreground process group associated with the terminal attached to Fd fd.
setProcessGroupID :: ProcessID -> ProcessGroupID -> IO ()
unix System.Posix.Process.ByteString, unix System.Posix.Process
setProcessGroupID pid pgid calls setpgid to set the ProcessGroupID for process pid to pgid. This function is currently deprecated, and might be changed to setting the ProcessGroupID for the current process in future versions.
setProcessGroupIDOf :: ProcessID -> ProcessGroupID -> IO ()
unix System.Posix.Process.ByteString, unix System.Posix.Process
setProcessGroupIDOf pid pgid calls setpgid to set the ProcessGroupIDOf for process pid to pgid.
setTerminalProcessGroupID :: Fd -> ProcessGroupID -> IO ()
unix System.Posix.Terminal, unix System.Posix.Terminal.ByteString
setTerminalProcessGroupID fd pgid calls tcsetpgrp to set the ProcessGroupID of the foreground process group associated with the terminal attached to Fd fd to pgid.