help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Classes][Procedures and functions] Reference for unit 'Pipes' (#fcl)

CreatePipeStreams

Create a pair of pipe stream.

Declaration

Source position: pipes.pp line 51

procedure CreatePipeStreams(

  var InPipe: TInputPipeStream;

  var OutPipe: TOutputPipeStream

);

Arguments

InPipe

  

Contains the read end of the pipe on return

OutPipe

  

Contains the write end of the pipe on return.

Description

CreatePipeStreams creates a set of pipe file descriptors with CreatePipeHandles, and if that call is succesfull, a pair of streams is created: InPipe and OutPipe.

Errors

If no pipe handles could be created, an EPipeCreation exception is raised.

See also

CreatePipeHandles

  

Function to create a set of pipe handles

TInputPipeStream

  

TStream descendent which wraps the read end of a pipe.

TOutputPipeStream

  

TStream descendent which wraps the write end of a pipe.

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505