2
This file is part of the Free Pascal run time library.
3
Copyright (c) 1999-2000 by Michael Van Canneyt
5
OS/2 specific part of pipe stream.
7
See the file COPYING.FPC, included in this distribution,
8
for details about the copyright.
10
This program is distributed in the hope that it will be useful,
11
but WITHOUT ANY WARRANTY; without even the implied warranty of
12
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14
**********************************************************************}
22
Function CreatePipeHandles (Var Inhandle,OutHandle : Longint) : Boolean;
25
CreatePipeHandles := DosCreatePipe (InHandle, OutHandle, PipeBufSize) = 0;
28
Function TInputPipeStream.GetNumBytesAvailable: DWord;
31
// TODO: find out if this is possible in OS/2