From b1a277421ab00dbd9b71702ddfbef1b62d46e0df Mon Sep 17 00:00:00 2001 From: simonmar Date: Wed, 26 Mar 2003 12:35:34 +0000 Subject: [project @ 2003-03-26 12:35:34 by simonmar] Add getrlimit()/setrlimit() suppport --- System/Posix.hs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'System/Posix.hs') 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?) -- cgit v1.2.3