System.Posix.Resource
| Copyright | (c) The University of Glasgow 2003 |
|---|---|
| License | BSD-style (see the file libraries/base/LICENSE) |
| Maintainer | [email protected] |
| Stability | provisional |
| Portability | non-portable (requires POSIX) |
| Safe Haskell | Safe |
| Language | Haskell2010 |
Contents
Description
POSIX resource support
Resource Limits
data ResourceLimit Source
Constructors
| ResourceLimitInfinity | |
| ResourceLimitUnknown | |
| ResourceLimit Integer |
Instances
data ResourceLimits Source
Constructors
| ResourceLimits | |
Fields | |
Instances
Constructors
| ResourceCoreFileSize | |
| ResourceCPUTime | |
| ResourceDataSize | |
| ResourceFileSize | |
| ResourceOpenFiles | |
| ResourceStackSize | |
| ResourceTotalMemory |
getResourceLimit :: Resource -> IO ResourceLimits Source
setResourceLimit :: Resource -> ResourceLimits -> IO () Source
© The University of Glasgow and others
Licensed under a BSD-style license (see top of the page).
https://downloads.haskell.org/~ghc/7.10.3/docs/html/libraries/unix-2.7.1.0/System-Posix-Resource.html