2
0

sysunixh.inc 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. {
  2. This file is part of the Free Pascal Run time library.
  3. Copyright (c) 2001 by the Free Pascal development team
  4. This file contains the OS independent declarations of the system unit
  5. for unix styled systems
  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. {$define newsignal}
  13. {$I systemh.inc}
  14. {$ifdef cpum68k}
  15. { used for single computations }
  16. const
  17. BIAS4 = $7f-1;
  18. {$endif cpum68k}
  19. const
  20. LineEnding = #10;
  21. LFNSupport = true;
  22. DirectorySeparator = '/';
  23. DriveSeparator = ':';
  24. PathSeparator = ':';
  25. { FileNameCaseSensitive is defined below! }
  26. maxExitCode = 255;
  27. MaxPathLen = 256;
  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: sysunixh.inc,v $
  46. Revision 1.27 2005/05/12 20:29:16 michael
  47. + Added maxpathlen constant (maximum length of filename path)
  48. Revision 1.26 2005/04/03 21:10:59 hajny
  49. * EOF_CTRLZ conditional define replaced with CtrlZMarksEOF, #26 handling made more consistent (fix for bug 2453)
  50. Revision 1.25 2005/02/14 17:13:31 peter
  51. * truncate log
  52. Revision 1.24 2005/02/14 16:32:41 peter
  53. * solaris updates
  54. Revision 1.23 2005/02/06 11:20:52 peter
  55. * threading in system unit
  56. * removed systhrds unit
  57. }