Sign in Join
FPDoc Onlineexperiment

Pipes unit

Unit implementing pipe streams.

The Pipes unit implements streams that are wrappers around the OS's pipe functionality. It creates a pair of streams, and what is written to one stream can be read from another.

Classes and records

EPipeCreationclassException raised when an error occurred during the creation of a pipe pair.
EPipeErrorclassException raised when an invalid operation is performed on a pipe stream.
EPipeSeekclassException raised when an invalid seek operation is attempted on a pipe.
TInputPipeStreamclassTStream descendent which wraps the read end of a pipe.
TOutputPipeStreamclassTStream descendent which wraps the write end of a pipe.

Procedures and functions

CreatePipeHandlesfunctionFunction to create a set of pipe handles.
CreatePipeStreamsprocedureCreate a pair of pipe stream.

Constants

ENoSeekMsgconstantConstant used in EPipeSeek exception.
EPipeMsgconstantConstant used in EPipeCreation exception.

Uses

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.