mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-11 07:26:20 +01:00
41 lines
1016 B
PHP
41 lines
1016 B
PHP
{
|
|
$Id$
|
|
$Id$
|
|
This file is part of the Free Pascal run time library.
|
|
Copyright (c) 1999-2000 by Michael Van Canneyt
|
|
|
|
OS/2 specific part of pipe stream.
|
|
|
|
See the file COPYING.FPC, included in this distribution,
|
|
for details about the copyright.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
**********************************************************************}
|
|
|
|
uses
|
|
DosCalls;
|
|
|
|
const
|
|
PipeBufSize = 1024;
|
|
|
|
Function CreatePipeHandles (Var Inhandle,OutHandle : Longint) : Boolean;
|
|
|
|
begin
|
|
CreatePipeHandles := DosCreatePipe (InHandle, OutHandle, PipeBufSize) = 0;
|
|
end;
|
|
{
|
|
$Log$
|
|
Revision 1.4 2000-12-19 00:43:07 hajny
|
|
+ FCL made compilable under OS/2
|
|
|
|
Revision 1.3 2000/08/25 17:33:44 hajny
|
|
* Made compilable again (missing bracket at the begin of logs)
|
|
|
|
Revision 1.2 2000/07/13 11:33:01 michael
|
|
+ removed logs
|
|
|
|
}
|