sysunixh.inc 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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}