|Portability||non-portable (requires POSIX.1, XPG4.2)|
Provides a lazy-
ByteString file-descriptor based I/O
API, designed loosely after the
String file-descriptor based
I/O API in System.Posix.IO. The functions here wrap standard
C implementations of the functions specified by the ISO/IEC
9945-1:1990 (``POSIX.1'') and X/Open Portability Guide Issue
4, Version 2 (``XPG4.2'') specifications.
I/O with file descriptors
How many bytes to try to read.
Where to read the data from.
|-> IO ByteString|
The bytes read.
The string to write.
|-> IO (ByteCount, ByteString)|
How many bytes were actually written, and the remaining (unwritten) string.