pipes.inc 812 B

123456789101112131415161718192021222324252627282930313233343536
  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.5 2002-09-07 15:15:29 peter
  26. * old logs removed and tabs fixed
  27. }