mecca.lib.io

File descriptor management

Public Imports

core.sys.posix.fcntl
public import core.sys.posix.fcntl : O_ACCMODE, O_RDONLY, O_WRONLY, O_RDWR, O_CREAT, O_EXCL, O_TRUNC, O_APPEND, O_SYNC, O_NOCTTY;

Members

Classes

ShortRead
class ShortRead

Exception thrown if a read/recv receives partial data

Functions

createPipe
void createPipe(FD readEnd, FD writeEnd)

create an unnamed pipe pair

Structs

BufferedIO
struct BufferedIO(T)

A wrapper to perform buffered IO over another IO type

FD
struct FD

File descriptor wrapper

Meta