haskus-system-0.6.0.0: Haskus system programming framework

Safe HaskellNone
LanguageHaskell2010

Haskus.Arch.Linux.Signal

Description

Linux signals

Synopsis

Documentation

sysPause :: MonadIO m => Flow m '[(), ErrorCode] Source #

Pause

sysAlarm :: MonadIO m => Word -> Flow m '[Word, ErrorCode] Source #

Alarm

sysSendSignal :: MonadIO m => ProcessID -> Int -> Flow m '[(), ErrorCode] Source #

Kill syscall

sysSendSignalGroup :: MonadIO m => Int -> Flow m '[(), ErrorCode] Source #

Send a signal to every process in the process group of the calling process

sysSendSignalAll :: MonadIO m => Int -> Flow m '[(), ErrorCode] Source #

Send a signal to every process for which the calling process has permission to send signals, except for process 1 (init)

sysCheckProcess :: MonadIO m => ProcessID -> Flow m '[Bool, ErrorCode] Source #

Check if a given process or process group exists

Send signal "0" the given process