pipes.inc 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. {
  2. $Id$
  3. This file is part of the Free Pascal run time library.
  4. Copyright (c) 1999-2000 by Michael Van Canneyt
  5. Linux specific part of pipe stream.
  6. See the file COPYING.FPC, included in this distribution,
  7. for details about the copyright.
  8. This program is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  11. **********************************************************************}
  12. Uses
  13. {$ifdef ver1_0}
  14. Linux
  15. {$else}
  16. Unix
  17. {$endif}
  18. ;
  19. Function CreatePipeHandles (Var Inhandle,OutHandle : Longint) : Boolean;
  20. begin
  21. Result := AssignPipe (Inhandle,OutHandle);
  22. end;
  23. {
  24. $Log$
  25. Revision 1.4 2001-04-08 11:26:03 peter
  26. * update so it can be compiled by both 1.0.x and 1.1
  27. Revision 1.3 2001/01/21 20:45:09 marco
  28. * Rename fest II FCL version.
  29. Revision 1.2 2000/10/26 22:30:21 peter
  30. * freebsd update
  31. * classes.rst
  32. Revision 1.1.2.1 2000/10/25 12:36:24 marco
  33. * Split up Freebsd/Unix/Linux for Fixes FCL
  34. Revision 1.1 2000/07/13 06:31:32 michael
  35. + Initial import
  36. Revision 1.5 2000/02/15 21:57:51 sg
  37. * Added copyright notice and CVS log tags where necessary
  38. }