pipes.inc 1016 B

12345678910111213141516171819202122232425262728293031323334353637383940
  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.4 2000-12-19 00:43:07 hajny
  24. + FCL made compilable under OS/2
  25. Revision 1.3 2000/08/25 17:33:44 hajny
  26. * Made compilable again (missing bracket at the begin of logs)
  27. Revision 1.2 2000/07/13 11:33:01 michael
  28. + removed logs
  29. }