 | pinktrace-0.0.5: Haskell bindings to Pink's Tracing Library | Contents | Index |
|
| System.PinkTrace.String | | Portability | non-portable, requires freebsd or linux | | Stability | provisional | | Maintainer | alip@exherbo.org |
|
|
|
| Description |
| Pink's string decoding and encoding functions
|
|
| Synopsis |
|
|
|
| Documentation |
|
| decodeString |
| ∷ Index | The index of the argument
| | → Int | Max length of the string
If smaller than zero, pinktrace tries to determine the string length.
| | → Bitness | The bitness of the traced child
| | → ProcessID | Process ID of the traced child
| | → IO String | The decoded string
| This function decodes the string at the argument of the given index.
- Note: This function calls throwErrno in case of failure.
|
|
|
| encodeString |
| ∷ Index | The index of the argument
| | → String | The string to be encoded
| | → Bitness | The bitness of the traced child
| | → ProcessID | Process ID of the traced child
| | → IO () | | Encode a string into the argument of the given index.
- Note: This function calls throwErrno in case of failure.
- Warning: Care must be taken when using this function as unexpected things may happen.
|
|
|
| encodeStringSafe |
| ∷ Index | The index of the argument
| | → String | The string to be encoded
| | → Bitness | The bitness of the traced child
| | → ProcessID | Process ID of the traced child
| | → IO () | | Encode a string into the argument of the given index with additional
checking for writable areas.
- Note: This function calls throwErrno in case of failure.
- Availability: Linux
- Warning: Care must be taken when using this function as unexpected things may happen.
|
|
|
| Produced by Haddock version 2.6.1 |