Copyright | (c) The University of Glasgow 2003 |
---|---|
License | BSD-style (see the file libraries/base/LICENSE) |
Maintainer | libraries@haskell.org |
Stability | provisional |
Portability | non-portable (requires POSIX) |
Safe Haskell | Trustworthy |
Language | Haskell2010 |
POSIX resource support
Synopsis
- data ResourceLimit
- data ResourceLimits = ResourceLimits {}
- data Resource
- getResourceLimit :: Resource -> IO ResourceLimits
- setResourceLimit :: Resource -> ResourceLimits -> IO ()
Resource Limits
data ResourceLimit Source #
Instances
Show ResourceLimit Source # | |
Defined in System.Posix.Resource showsPrec :: Int -> ResourceLimit -> ShowS # show :: ResourceLimit -> String # showList :: [ResourceLimit] -> ShowS # | |
Eq ResourceLimit Source # | |
Defined in System.Posix.Resource (==) :: ResourceLimit -> ResourceLimit -> Bool # (/=) :: ResourceLimit -> ResourceLimit -> Bool # |
data ResourceLimits Source #
Instances
Show ResourceLimits Source # | |
Defined in System.Posix.Resource showsPrec :: Int -> ResourceLimits -> ShowS # show :: ResourceLimits -> String # showList :: [ResourceLimits] -> ShowS # | |
Eq ResourceLimits Source # | |
Defined in System.Posix.Resource (==) :: ResourceLimits -> ResourceLimits -> Bool # (/=) :: ResourceLimits -> ResourceLimits -> Bool # |
setResourceLimit :: Resource -> ResourceLimits -> IO () Source #