diff options
Diffstat (limited to 'System/Posix/Process/Internals.hs')
-rw-r--r-- | System/Posix/Process/Internals.hs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/System/Posix/Process/Internals.hs b/System/Posix/Process/Internals.hs new file mode 100644 index 0000000..8639819 --- /dev/null +++ b/System/Posix/Process/Internals.hs @@ -0,0 +1,13 @@ + +module System.Posix.Process.Internals (pPrPr_disableITimers, c_execvpe) where + +import Foreign +import Foreign.C + +-- this function disables the itimer, which would otherwise cause confusing +-- signals to be sent to the new process. +foreign import ccall unsafe "pPrPr_disableITimers" + pPrPr_disableITimers :: IO () + +foreign import ccall unsafe "execvpe" + c_execvpe :: CString -> Ptr CString -> Ptr CString -> IO CInt |