~ubuntu-branches/debian/lenny/fpc/lenny

« back to all changes in this revision

Viewing changes to fpcsrc/rtl/linux/errnostr.inc

  • Committer: Bazaar Package Importer
  • Author(s): Mazen Neifer, Torsten Werner, Mazen Neifer
  • Date: 2008-05-17 17:12:11 UTC
  • mfrom: (3.1.9 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080517171211-9qi33xhd9evfa0kg
Tags: 2.2.0-dfsg1-9
[ Torsten Werner ]
* Add Mazen Neifer to Uploaders field.

[ Mazen Neifer ]
* Moved FPC sources into a version dependent directory from /usr/share/fpcsrc
  to /usr/share/fpcsrc/${FPCVERSION}. This allow installing more than on FPC
  release.
* Fixed far call issue in compiler preventing building huge binearies.
  (closes: #477743)
* Updated building dependencies, recomennded and suggested packages.
* Moved fppkg to fp-utils as it is just a helper tool and is not required by
  compiler.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
{
 
2
    This file is part of the Free Pascal run time library.
 
3
    Copyright (c) 2005 by Ales Katona
 
4
 
 
5
    Contains Linux specific errors for error.pp in rtl/unix
 
6
 
 
7
    See the file COPYING.FPC, included in this distribution,
 
8
    for details about the copyright.
 
9
 
 
10
    This program is distributed in the hope that it will be useful,
 
11
    but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 
13
 
 
14
 **********************************************************************}
 
15
 
 
16
const
 
17
  sys_errn=125;
 
18
  sys_errlist:array[0..sys_errn-1] of pchar = (
 
19
        'Success',                              { 0 }
 
20
        'Operation not permitted',              { EPERM }
 
21
        'No such file or directory',            { ENOENT }
 
22
        'No such process',                      { ESRCH }
 
23
        'Interrupted system call',              { EINTR }
 
24
        'I/O error',                            { EIO }
 
25
        'No such device or address',            { ENXIO }
 
26
        'Arg list too long',                    { E2BIG }
 
27
        'Exec format error',                    { ENOEXEC }
 
28
        'Bad file number',                      { EBADF }
 
29
        'No child processes',                   { ECHILD }
 
30
        'Try again',                            { EAGAIN }
 
31
        'Out of memory',                        { ENOMEM }
 
32
        'Permission denied',                    { EACCES }
 
33
        'Bad address',                          { EFAULT }
 
34
        'Block device required',                { ENOTBLK }
 
35
        'Device or resource busy',              { EBUSY }
 
36
        'File exists',                          { EEXIST }
 
37
        'Cross-device link',                    { EXDEV }
 
38
        'No such device',                       { ENODEV }
 
39
        'Not a directory',                      { ENOTDIR }
 
40
        'Is a directory',                       { EISDIR }
 
41
        'Invalid argument',                     { EINVAL }
 
42
        'File table overflow',                  { ENFILE }
 
43
        'Too many open files',                  { EMFILE }
 
44
        'Not a typewriter',                     { ENOTTY }
 
45
        'Text (code segment) file busy',        { ETXTBSY  Text file busy.  The new process was
 
46
                                                    a pure procedure (shared text) file which was
 
47
                                                    open for writing by another process, or file
 
48
                                                    which was open for writing by another process,
 
49
                                                    or while the pure procedure file was being
 
50
                                                    executed an open(2) call requested write access
 
51
                                                    requested write access.}
 
52
        'File too large',                       { EFBIG }
 
53
        'No space left on device',              { ENOSPC }
 
54
        'Illegal seek',                         { ESPIPE }
 
55
        'Read-only file system',                { EROFS }
 
56
        'Too many links',                       { EMLINK }
 
57
        'Broken pipe',                          { EPIPE }
 
58
        'Math argument out of domain of func',  { EDOM }
 
59
        'Math result not representable',        { ERANGE }
 
60
        'Resource deadlock would occur',        { EDEADLK }
 
61
        'File name too long',                   { ENAMETOOLONG }
 
62
        'No record locks available',            { ENOLCK }
 
63
        'Function not implemented',             { ENOSYS }
 
64
        'Directory not empty',                  { ENOTEMPTY }
 
65
        'Too many symbolic links encountered',  { ELOOP }
 
66
        'Operation would block',                { EWOULDBLOCK }
 
67
        'No message of desired type',           { ENOMSG }
 
68
        'Identifier removed',                   { EIDRM }
 
69
        'Channel number out of range',          { ECHRNG }
 
70
        'Level 2 not synchronized',             { EL2NSYNC }
 
71
        'Level 3 halted',                       { EL3HLT }
 
72
        'Level 3 reset',                        { EL3RST }
 
73
        'Link number out of range',             { ELNRNG }
 
74
        'Protocol driver not attached',         { EUNATCH }
 
75
        'No CSI structure available',           { ENOCSI }
 
76
        'Level 2 halted',                       { EL2HLT }
 
77
        'Invalid exchange',                     { EBADE }
 
78
        'Invalid request descriptor',           { EBADR }
 
79
        'Exchange full',                        { EXFULL }
 
80
        'No anode',                             { ENOANO }
 
81
        'Invalid request code',                 { EBADRQC }
 
82
        'Invalid slot',                         { EBADSLT }
 
83
        'File locking deadlock error',          { EDEADLOCK }
 
84
        'Bad font file format',                 { EBFONT }
 
85
        'Device not a stream',                  { ENOSTR }
 
86
        'No data available',                    { ENODATA }
 
87
        'Timer expired',                        { ETIME }
 
88
        'Out of streams resources',             { ENOSR }
 
89
        'Machine is not on the network',        { ENONET }
 
90
        'Package not installed',                { ENOPKG }
 
91
        'Object is remote',                     { EREMOTE }
 
92
        'Link has been severed',                { ENOLINK }
 
93
        'Advertise error',                      { EADV }
 
94
        'Srmount error',                        { ESRMNT }
 
95
        'Communication error on send',          { ECOMM }
 
96
        'Protocol error',                       { EPROTO }
 
97
        'Multihop attempted',                   { EMULTIHOP }
 
98
        'RFS specific error',                   { EDOTDOT }
 
99
        'Not a data message',                   { EBADMSG }
 
100
        'Value too large for defined data type',        { EOVERFLOW }
 
101
        'Name not unique on network',           { ENOTUNIQ }
 
102
        'File descriptor in bad state',         { EBADFD }
 
103
        'Remote address changed',               { EREMCHG }
 
104
        'Can not access a needed shared library',       { ELIBACC }
 
105
        'Accessing a corrupted shared library',         { ELIBBAD }
 
106
        '.lib section in a.out corrupted',      { ELIBSCN }
 
107
        'Attempting to link in too many shared libraries',      { ELIBMAX }
 
108
        'Cannot exec a shared library directly',        { ELIBEXEC }
 
109
        'Illegal byte sequence',                { EILSEQ }
 
110
        'Interrupted system call should be restarted',  { ERESTART }
 
111
        'Streams pipe error',                   { ESTRPIPE }
 
112
        'Too many users',                       { EUSERS }
 
113
        'Socket operation on non-socket',       { ENOTSOCK }
 
114
        'Destination address required',         { EDESTADDRREQ }
 
115
        'Message too long',                     { EMSGSIZE }
 
116
        'Protocol wrong type for socket',       { EPROTOTYPE }
 
117
        'Protocol not available',               { ENOPROTOOPT }
 
118
        'Protocol not supported',               { EPROTONOSUPPORT }
 
119
        'Socket type not supported',            { ESOCKTNOSUPPORT }
 
120
        'Operation not supported on transport endpoint',        { EOPNOTSUPP }
 
121
        'Protocol family not supported',        { EPFNOSUPPORT }
 
122
        'Address family not supported by protocol',     { EAFNOSUPPORT }
 
123
        'Address already in use',               { EADDRINUSE }
 
124
        'Cannot assign requested address',      { EADDRNOTAVAIL }
 
125
        'Network is down',                      { ENETDOWN }
 
126
        'Network is unreachable',               { ENETUNREACH }
 
127
        'Network dropped connection because of reset',  { ENETRESET }
 
128
        'Software caused connection abort',     { ECONNABORTED }
 
129
        'Connection reset by peer',             { ECONNRESET }
 
130
        'No buffer space available',            { ENOBUFS }
 
131
        'Transport endpoint is already connected',      { EISCONN }
 
132
        'Transport endpoint is not connected',  { ENOTCONN }
 
133
        'Cannot send after transport endpoint shutdown',        { ESHUTDOWN }
 
134
        'Too many references: cannot splice',   { ETOOMANYREFS }
 
135
        'Connection timed out',                 { ETIMEDOUT }
 
136
        'Connection refused',                   { ECONNREFUSED }
 
137
        'Host is down',                         { EHOSTDOWN }
 
138
        'No route to host',                     { EHOSTUNREACH }
 
139
        'Operation already in progress',        { EALREADY }
 
140
        'Operation now in progress',            { EINPROGRESS }
 
141
        'Stale NFS file handle',                { ESTALE }
 
142
        'Structure needs cleaning',             { EUCLEAN }
 
143
        'Not a XENIX named type file',          { ENOTNAM }
 
144
        'No XENIX semaphores available',        { ENAVAIL }
 
145
        'Is a named type file',                 { EISNAM }
 
146
        'Remote I/O error',                     { EREMOTEIO }
 
147
        'Quota exceeded',                       { EDQUOT }
 
148
        'No medium found',                      { ENOMEDIUM }
 
149
        'Wrong medium type');                   { EMEDIUMTYPE }