si_intf.inc 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. {
  2. This file is part of the Free Pascal run time library.
  3. Copyright (c) 2019 by Free Pascal development team
  4. This file implements the public interface parts of the startup
  5. code for OpenBSD programs or shared object (.so) libraries.
  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. {$SMARTLINK OFF}
  13. {$GOTO ON}
  14. type
  15. cint = LongInt;
  16. {$if defined(cpu64)}
  17. culong = QWord;
  18. {$else}
  19. culong = LongWord;
  20. {$endif}
  21. u_long = culong;
  22. TCdeclProcedure = procedure; cdecl;
  23. var
  24. operatingsystem_parameter_envp: ppchar; public name 'operatingsystem_parameter_envp';
  25. operatingsystem_parameter_argc: longint; public name 'operatingsystem_parameter_argc';
  26. operatingsystem_parameter_argv: ppchar; public name 'operatingsystem_parameter_argv';
  27. environ: ppchar; public name 'environ';
  28. __progname: pchar = ''; public name '__progname';
  29. __progname_storage: array [0..255] of char; public name '__progname_storage';