pipes.inc 838 B

12345678910111213141516171819202122232425262728293031323334
  1. {
  2. $Id$
  3. $Id$
  4. This file is part of the Free Pascal run time library.
  5. Copyright (c) 1999-2000 by Michael Van Canneyt
  6. OS/2 specific part of pipe stream.
  7. See the file COPYING.FPC, included in this distribution,
  8. for details about the copyright.
  9. This program is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  12. **********************************************************************}
  13. uses
  14. DosCalls;
  15. const
  16. PipeBufSize = 1024;
  17. Function CreatePipeHandles (Var Inhandle,OutHandle : Longint) : Boolean;
  18. begin
  19. CreatePipeHandles := DosCreatePipe (InHandle, OutHandle, PipeBufSize) = 0;
  20. end;
  21. {
  22. $Log$
  23. Revision 1.5 2002-09-07 15:15:27 peter
  24. * old logs removed and tabs fixed
  25. }