sysunixh.inc 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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. MaxPathLen = 256;
  29. const
  30. UnusedHandle = -1;
  31. StdInputHandle = 0;
  32. StdOutputHandle = 1;
  33. StdErrorHandle = 2;
  34. FileNameCaseSensitive : boolean = true;
  35. CtrlZMarksEOF: boolean = false; (* #26 not considered as end of file *)
  36. sLineBreak = LineEnding;
  37. DefaultTextLineBreakStyle : TTextLineBreakStyle = tlbsLF;
  38. {$ifndef Solaris}
  39. {$ifndef Darwin}
  40. var argc:longint;external name 'operatingsystem_parameter_argc';
  41. argv:PPchar;external name 'operatingsystem_parameter_argv';
  42. envp:PPchar;external name 'operatingsystem_parameter_envp';
  43. {$endif}
  44. {$endif}
  45. {
  46. $Log$
  47. Revision 1.27 2005-05-12 20:29:16 michael
  48. + Added maxpathlen constant (maximum length of filename path)
  49. Revision 1.26 2005/04/03 21:10:59 hajny
  50. * EOF_CTRLZ conditional define replaced with CtrlZMarksEOF, #26 handling made more consistent (fix for bug 2453)
  51. Revision 1.25 2005/02/14 17:13:31 peter
  52. * truncate log
  53. Revision 1.24 2005/02/14 16:32:41 peter
  54. * solaris updates
  55. Revision 1.23 2005/02/06 11:20:52 peter
  56. * threading in system unit
  57. * removed systhrds unit
  58. }