unix-2.7.2.2: POSIX functionality

Copyright (c) The University of Glasgow 2002 BSD-style (see the file libraries/base/LICENSE) [email protected] provisional non-portable (requires POSIX) Safe Haskell2010

System.Posix.ByteString

Description

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.

Synopsis

# Documentation

A literal POSIX file path