~ubuntu-branches/ubuntu/lucid/fpc/lucid-proposed

« back to all changes in this revision

Viewing changes to fpcsrc/packages/libc/src/errnoh.inc

  • Committer: Bazaar Package Importer
  • Author(s): Mazen Neifer, Torsten Werner, Mazen Neifer
  • Date: 2008-10-09 23:29:00 UTC
  • mfrom: (4.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20081009232900-553f61m37jkp6upv
Tags: 2.2.2-4
[ Torsten Werner ]
* Update ABI version in fpc-depends automatically.
* Remove empty directories from binary package fpc-source.

[ Mazen Neifer ]
* Removed leading path when calling update-alternatives to remove a Linitian
  error.
* Fixed clean target.
* Improved description of packages. (Closes: #498882)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
Type
 
3
  error_t = Integer;
 
4
 
 
5
var
 
6
{$ifdef LIBC_OLDERRNO}
 
7
  errno : error_t; cvar; external;
 
8
{$endif}
 
9
  program_invocation_name : Pchar;cvar;external;
 
10
 
 
11
{$ifndef LIBC_OLDERRNO}
 
12
  function errno : error_t;
 
13
  procedure seterrno (value : error_t);
 
14
{$endif}
 
15
{ ---------------------------------------------------------------------
 
16
    asm/errno.inc
 
17
  ---------------------------------------------------------------------}
 
18
 
 
19
 
 
20
const
 
21
   EPERM = 1;
 
22
   ENOENT = 2;
 
23
   ESRCH = 3;
 
24
   EINTR = 4;
 
25
   EIO = 5;
 
26
   ENXIO = 6;
 
27
   E2BIG = 7;
 
28
   ENOEXEC = 8;
 
29
   EBADF = 9;
 
30
   ECHILD = 10;
 
31
   EAGAIN = 11;
 
32
   ENOMEM = 12;
 
33
   EACCES = 13;
 
34
   EFAULT = 14;
 
35
   ENOTBLK = 15;
 
36
   EBUSY = 16;
 
37
   EEXIST = 17;
 
38
   EXDEV = 18;
 
39
   ENODEV = 19;
 
40
   ENOTDIR = 20;
 
41
   EISDIR = 21;
 
42
   EINVAL = 22;
 
43
   ENFILE = 23;
 
44
   EMFILE = 24;
 
45
   ENOTTY = 25;
 
46
   ETXTBSY = 26;
 
47
   EFBIG = 27;
 
48
   ENOSPC = 28;
 
49
   ESPIPE = 29;
 
50
   EROFS = 30;
 
51
   EMLINK = 31;
 
52
   EPIPE = 32;
 
53
   EDOM = 33;
 
54
   ERANGE = 34;
 
55
   EDEADLK = 35;
 
56
   ENAMETOOLONG = 36;
 
57
   ENOLCK = 37;
 
58
   ENOSYS = 38;
 
59
   ENOTEMPTY = 39;
 
60
   ELOOP = 40;
 
61
   EWOULDBLOCK = EAGAIN;
 
62
   ENOMSG = 42;
 
63
   EIDRM = 43;
 
64
   ECHRNG = 44;
 
65
   EL2NSYNC = 45;
 
66
   EL3HLT = 46;
 
67
   EL3RST = 47;
 
68
   ELNRNG = 48;
 
69
   EUNATCH = 49;
 
70
   ENOCSI = 50;
 
71
   EL2HLT = 51;
 
72
   EBADE = 52;
 
73
   EBADR = 53;
 
74
   EXFULL = 54;
 
75
   ENOANO = 55;
 
76
   EBADRQC = 56;
 
77
   EBADSLT = 57;
 
78
   EDEADLOCK = EDEADLK;
 
79
   EBFONT = 59;
 
80
   ENOSTR = 60;
 
81
   ENODATA = 61;
 
82
   ETIME = 62;
 
83
   ENOSR = 63;
 
84
   ENONET = 64;
 
85
   ENOPKG = 65;
 
86
   EREMOTE = 66;
 
87
   ENOLINK = 67;
 
88
   EADV = 68;
 
89
   ESRMNT = 69;
 
90
   ECOMM = 70;
 
91
   EPROTO = 71;
 
92
   EMULTIHOP = 72;
 
93
   EDOTDOT = 73;
 
94
   EBADMSG = 74;
 
95
   EOVERFLOW = 75;
 
96
   ENOTUNIQ = 76;
 
97
   EBADFD = 77;
 
98
   EREMCHG = 78;
 
99
   ELIBACC = 79;
 
100
   ELIBBAD = 80;
 
101
   ELIBSCN = 81;
 
102
   ELIBMAX = 82;
 
103
   ELIBEXEC = 83;
 
104
   EILSEQ = 84;
 
105
   ERESTART = 85;
 
106
   ESTRPIPE = 86;
 
107
   EUSERS = 87;
 
108
   ENOTSOCK = 88;
 
109
   EDESTADDRREQ = 89;
 
110
   EMSGSIZE = 90;
 
111
   EPROTOTYPE = 91;
 
112
   ENOPROTOOPT = 92;
 
113
   EPROTONOSUPPORT = 93;
 
114
   ESOCKTNOSUPPORT = 94;
 
115
   EOPNOTSUPP = 95;
 
116
   EPFNOSUPPORT = 96;
 
117
   EAFNOSUPPORT = 97;
 
118
   EADDRINUSE = 98;
 
119
   EADDRNOTAVAIL = 99;
 
120
   ENETDOWN = 100;
 
121
   ENETUNREACH = 101;
 
122
   ENETRESET = 102;
 
123
   ECONNABORTED = 103;
 
124
   ECONNRESET = 104;
 
125
   ENOBUFS = 105;
 
126
   EISCONN = 106;
 
127
   ENOTCONN = 107;
 
128
   ESHUTDOWN = 108;
 
129
   ETOOMANYREFS = 109;
 
130
   ETIMEDOUT = 110;
 
131
   ECONNREFUSED = 111;
 
132
   EHOSTDOWN = 112;
 
133
   EHOSTUNREACH = 113;
 
134
   EALREADY = 114;
 
135
   EINPROGRESS = 115;
 
136
   ESTALE = 116;
 
137
   EUCLEAN = 117;
 
138
   ENOTNAM = 118;
 
139
   ENAVAIL = 119;
 
140
   EISNAM = 120;
 
141
   EREMOTEIO = 121;
 
142
   EDQUOT = 122;
 
143
   ENOMEDIUM = 123;
 
144
   EMEDIUMTYPE = 124;
 
145
 
 
146
{ ---------------------------------------------------------------------
 
147
    bits/errno.h
 
148
  ---------------------------------------------------------------------}
 
149
 
 
150
 
 
151
const
 
152
   ENOTSUP = EOPNOTSUPP;
 
153
   ECANCELED = 125;
 
154
 
 
155
function __errno_location: PInteger; cdecl;external clib name '__errno_location';
 
156
 
 
157