Copyright | (c) The University of Glasgow 2002 |
---|---|
License | BSD-style (see the file libraries/base/LICENSE) |
Maintainer | [email protected] |
Stability | provisional |
Portability | non-portable (requires POSIX) |
Safe Haskell | Safe |
Language | Haskell2010 |
POSIX.1-2008
support with ByteString
file paths and environment strings.
This module exports exactly the same API as System.Posix, except
that all file paths and environment strings are represented by
ByteString
instead of String
. The System.Posix API
implicitly translates all file paths and environment strings using
the locale encoding, whereas this version of the API does no
encoding or decoding and works directly in terms of raw bytes.
Note that if you do need to interpret file paths or environment strings as text, then some Unicode encoding or decoding should be applied first.
- type RawFilePath = ByteString
- module System.Posix.Types
- module System.Posix.Signals
- module System.Posix.Directory.ByteString
- module System.Posix.Files.ByteString
- module System.Posix.Unistd
- module System.Posix.IO.ByteString
- module System.Posix.Env.ByteString
- module System.Posix.Process.ByteString
- module System.Posix.Temp.ByteString
- module System.Posix.Terminal.ByteString
- module System.Posix.Time
- module System.Posix.User
- module System.Posix.Resource
- module System.Posix.Semaphore
- module System.Posix.SharedMem
- module System.Posix.DynamicLinker.ByteString
Documentation
type RawFilePath = ByteString Source #
A literal POSIX file path
module System.Posix.Types
module System.Posix.Signals
module System.Posix.Unistd
module System.Posix.IO.ByteString
module System.Posix.Env.ByteString
module System.Posix.Temp.ByteString
module System.Posix.Time
module System.Posix.User
module System.Posix.Resource
module System.Posix.Semaphore
module System.Posix.SharedMem