summaryrefslogtreecommitdiff
path: root/rtl/openbsd/si_intf.inc
blob: 925544529afed8477f39a4b18385fc36d818db72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{
    This file is part of the Free Pascal run time library.
    Copyright (c) 2019 by Free Pascal development team

    This file implements the public interface parts of the startup
    code for OpenBSD programs or shared object (.so) libraries.

    See the file COPYING.FPC, included in this distribution,
    for details about the copyright.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

 **********************************************************************}

{$SMARTLINK OFF}
{$GOTO ON}

type
  cint = LongInt;
{$if defined(cpu64)}
  culong = QWord;
{$else}
  culong = LongWord;
{$endif}
  u_long = culong;
  TCdeclProcedure = procedure; cdecl;

var
  operatingsystem_parameter_envp: ppchar; public name 'operatingsystem_parameter_envp';
  operatingsystem_parameter_argc: longint; public name 'operatingsystem_parameter_argc';
  operatingsystem_parameter_argv: ppchar; public name 'operatingsystem_parameter_argv';
  environ: ppchar; public name 'environ';
  __progname: pchar = ''; public name '__progname';
  __progname_storage: array [0..255] of char; public name '__progname_storage';