aboutsummaryrefslogtreecommitdiffhomepage
path: root/System/Posix.hs
diff options
context:
space:
mode:
authorGravatar simonmar <unknown>2003-03-26 12:35:34 +0000
committerGravatar simonmar <unknown>2003-03-26 12:35:34 +0000
commitb1a277421ab00dbd9b71702ddfbef1b62d46e0df (patch)
tree1e2b630baaec300dee70e75b225413cc39b83404 /System/Posix.hs
parented31973d867d76516d6a91e81d76286e6c77184c (diff)
[project @ 2003-03-26 12:35:34 by simonmar]
Add getrlimit()/setrlimit() suppport
Diffstat (limited to 'System/Posix.hs')
-rw-r--r--System/Posix.hs5
1 files changed, 4 insertions, 1 deletions
diff --git a/System/Posix.hs b/System/Posix.hs
index 85776d1..1e5cadf 100644
--- a/System/Posix.hs
+++ b/System/Posix.hs
@@ -24,6 +24,7 @@ module System.Posix (
module System.Posix.Terminal,
module System.Posix.Time,
module System.Posix.User,
+ module System.Posix.Resource
) where
import System.Posix.Types
@@ -37,6 +38,7 @@ import System.Posix.Env
import System.Posix.Terminal
import System.Posix.Time
import System.Posix.User
+import System.Posix.Resource
{- TODO
@@ -83,6 +85,7 @@ utime.h System.Posix.Files
pwd.h System.Posix.User
grp.h System.Posix.User
stdlib.h: System.Posix.Env (getenv()/setenv()/unsetenv())
+sys/resource.h: System.Posix.Resource (get/setrlimit() only)
network package:
@@ -98,7 +101,7 @@ To be supported
limits.h
poll.h
-sys/resource.h
+sys/resource.h (getrusage(): use instead of times() for getProcessTimes?)
sys/select.h
sys/statvfs.h (?)
sys/time.h (but maybe not the itimer?)