aboutsummaryrefslogtreecommitdiffhomepage
path: root/System/Posix/Process/Internals.hs
diff options
context:
space:
mode:
authorGravatar Ian Lynagh <igloo@earth.li>2007-07-29 21:56:17 +0000
committerGravatar Ian Lynagh <igloo@earth.li>2007-07-29 21:56:17 +0000
commit7bd8a5cdd3aa22aa173a83216cc16ee5d947d33b (patch)
tree7a937308770761cc0b307c575ad5dc660cee6d10 /System/Posix/Process/Internals.hs
parent1061a6fa2ccc0038efd2caa70894087c880bb399 (diff)
Move System.Posix.Signals from base
Also adds System.Posix.Process.Internals in order to make the deps work out.
Diffstat (limited to 'System/Posix/Process/Internals.hs')
-rw-r--r--System/Posix/Process/Internals.hs13
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