sysunixh.inc 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. {
  2. $Id$
  3. This file is part of the Free Pascal Run time library.
  4. Copyright (c) 2001 by the Free Pascal development team
  5. This file contains the OS independent declarations of the system unit
  6. for unix styled systems
  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. {$define newsignal}
  14. {$I systemh.inc}
  15. {$ifdef cpum68k}
  16. { used for single computations }
  17. const
  18. BIAS4 = $7f-1;
  19. {$endif cpum68k}
  20. const
  21. LineEnding = #10;
  22. LFNSupport = true;
  23. DirectorySeparator = '/';
  24. DriveSeparator = ':';
  25. PathSeparator = ':';
  26. { FileNameCaseSensitive is defined below! }
  27. maxExitCode = 255;
  28. const
  29. UnusedHandle = -1;
  30. StdInputHandle = 0;
  31. StdOutputHandle = 1;
  32. StdErrorHandle = 2;
  33. FileNameCaseSensitive : boolean = true;
  34. CtrlZMarksEOF: boolean = false; (* #26 not considered as end of file *)
  35. sLineBreak = LineEnding;
  36. DefaultTextLineBreakStyle : TTextLineBreakStyle = tlbsLF;
  37. {$ifndef Solaris}
  38. {$ifndef Darwin}
  39. var argc:longint;external name 'operatingsystem_parameter_argc';
  40. argv:PPchar;external name 'operatingsystem_parameter_argv';
  41. envp:PPchar;external name 'operatingsystem_parameter_envp';
  42. {$endif}
  43. {$endif}
  44. {
  45. $Log$
  46. Revision 1.26 2005-04-03 21:10:59 hajny
  47. * EOF_CTRLZ conditional define replaced with CtrlZMarksEOF, #26 handling made more consistent (fix for bug 2453)
  48. Revision 1.25 2005/02/14 17:13:31 peter
  49. * truncate log
  50. Revision 1.24 2005/02/14 16:32:41 peter
  51. * solaris updates
  52. Revision 1.23 2005/02/06 11:20:52 peter
  53. * threading in system unit
  54. * removed systhrds unit
  55. }