 | pinktrace-0.0.5: Haskell bindings to Pink's Tracing Library | Contents | Index |
|
| System.PinkTrace.Bitness | | Portability | non-portable, requires freebsd or linux | | Stability | provisional | | Maintainer | alip@exherbo.org |
|
|
|
| Description |
| Pink's bitness modes
|
|
| Synopsis |
|
|
|
| Documentation |
|
| data Bitness |
| Bitness modes
| | Constructors | | Bitness32 | 32 bit mode
| | Bitness64 | 64 bit mode
|
| Instances | |
|
|
| bitnessDefault ∷ Bitness |
| The default bitness (eg Bitness32 on i386 and Bitness64 on x86_64)
|
|
| bitnessCountSupported ∷ Int |
| Number of supported bitness (eg 1 on i386 and 2 on x86_64)
|
|
| bitness32Supported ∷ Bool |
| True if Bitness32 is a supported bitness, False otherwise.
|
|
| bitness64Supported ∷ Bool |
| True if Bitness64 is a supported bitness, False otherwise.
|
|
| getBitness ∷ ProcessID → IO Bitness |
Return the bitness of the given process ID.
- Note: This function calls throwErrno in case of failure.
|
|
| nameBitness ∷ Bitness → IO String |
| Return the string representation of the given bitness.
|
|
| Produced by Haddock version 2.6.1 |