messages checked

git-svn-id: trunk@20931 -
This commit is contained in:
pierre 2012-04-19 14:51:43 +00:00
parent 196dfdd29a
commit 3b858a6ab2

View File

@ -13,37 +13,37 @@
**********************************************************************} **********************************************************************}
{$warning FIX ME, I'am from FreeBSD } { Checked using ../unix/scipts/check_errnostr.sh }
const const
sys_errn=93; sys_errn=97;
sys_errlist:array[0..sys_errn-1] of pchar = ( sys_errlist:array[0..sys_errn-1] of pchar = (
'Success', { 0 } 'Success', { 0 }
'Operation not permitted', { EPERM } 'Operation not permitted', { EPERM }
'No such file or directory', { ENOENT } 'No such file or directory', { ENOENT }
'No such process', { ESRCH } 'No such process', { ESRCH }
'Interrupted system call', { EINTR } 'Interrupted system call', { EINTR }
'I/O error', { EIO } 'Input/output error', { EIO }
'No such device or address', { ENXIO } 'Device not configured', { ENXIO }
'Arg list too long', { E2BIG } 'Argument list too long', { E2BIG }
'Exec format error', { ENOEXEC } 'Exec format error', { ENOEXEC }
'Bad file number', { EBADF } 'Bad file descriptor', { EBADF }
'No child processes', { ECHILD } 'No child processes', { ECHILD }
'Resource deadlock avoided', { EDEADLK was EAGAIN } 'Resource deadlock avoided', { EDEADLK was EAGAIN }
'Out of memory', { ENOMEM } 'Cannot allocate memory', { ENOMEM }
'Permission denied', { EACCES } 'Permission denied', { EACCES }
'Bad address', { EFAULT } 'Bad address', { EFAULT }
'Block device required', { ENOTBLK } 'Block device required', { ENOTBLK }
'Device or resource busy', { EBUSY } 'Device busy', { EBUSY }
'File exists', { EEXIST } 'File exists', { EEXIST }
'Cross-device link', { EXDEV } 'Cross-device link', { EXDEV }
'No such device', { ENODEV } 'Operation not supported by device', { ENODEV }
'Not a directory', { ENOTDIR } 'Not a directory', { ENOTDIR }
'Is a directory', { EISDIR } 'Is a directory', { EISDIR }
'Invalid argument', { EINVAL } 'Invalid argument', { EINVAL }
'File table overflow', { ENFILE } 'Too many open files in system', { ENFILE }
'Too many open files', { EMFILE } 'Too many open files', { EMFILE }
'Not a typewriter', { ENOTTY } 'Inappropriate ioctl for device', { ENOTTY }
'Text (code segment) file busy', { ETXTBSY Text file busy. The new process was 'Text file busy', { ETXTBSY Text file busy. The new process was
a pure procedure (shared text) file which was a pure procedure (shared text) file which was
open for writing by another process, or file open for writing by another process, or file
which was open for writing by another process, which was open for writing by another process,
@ -56,68 +56,72 @@ const
'Read-only file system', { EROFS } 'Read-only file system', { EROFS }
'Too many links', { EMLINK } 'Too many links', { EMLINK }
'Broken pipe', { EPIPE } 'Broken pipe', { EPIPE }
'Math argument out of domain of func', { EDOM } 'Numerical argument out of domain', { EDOM }
'Math result not representable', { ERANGE } 'Result too large', { ERANGE }
'Resource temporarily unavailable', { EAGAIN } 'Resource temporarily unavailable', { EAGAIN }
'Operation now in progress', { EINPROGRESS } 'Operation now in progress', { EINPROGRESS }
'Operation already in progress', { EALREADY } 'Operation already in progress', { EALREADY }
// ipc/network software -- argument errors // ipc/network software -- argument errors
'Socket operation on non-socket', { ENOTSOCK } 'Socket operation on non-socket', { ENOTSOCK }
'Destination address required', { EDESTADDRREQ } 'Destination address required', { EDESTADDRREQ }
'Message too long', { EMSGSIZE } 'Message too long', { EMSGSIZE }
'Protocol wrong type for socket', { EPROTOTYPE } 'Protocol wrong type for socket', { EPROTOTYPE }
'Protocol not available', { ENOPROTOOPT } 'Protocol not available', { ENOPROTOOPT }
'Protocol not supported', { EPROTONOSUPPORT } 'Protocol not supported', { EPROTONOSUPPORT }
'Socket type not supported', { ESOCKTNOSUPPORT } 'Socket type not supported', { ESOCKTNOSUPPORT }
'Operation not supported', { EOPNOTSUPP } 'Operation not supported', { EOPNOTSUPP }
'Protocol family not supported', { EPFNOSUPPORT } 'Protocol family not supported', { EPFNOSUPPORT }
'Address family not supported by protocol family', { EAFNOSUPPORT } 'Address family not supported by protocol family', { EAFNOSUPPORT }
'Address already in use', { EADDRINUSE } 'Address already in use', { EADDRINUSE }
'Can''t assign requested address', { EADDRNOTAVAIL } 'Can''t assign requested address', { EADDRNOTAVAIL }
// ipc/network software -- operational errors // ipc/network software -- operational errors
'Network is down', { ENETDOWN } 'Network is down', { ENETDOWN }
'Network is unreachable', { ENETUNREACH } 'Network is unreachable', { ENETUNREACH }
'Network dropped connection on reset', { ENETRESET } 'Network dropped connection on reset', { ENETRESET }
'Software caused connection abort', { ECONNABORTED } 'Software caused connection abort', { ECONNABORTED }
'Connection reset by peer', { ECONNRESET } 'Connection reset by peer', { ECONNRESET }
'No buffer space available', { ENOBUFS } 'No buffer space available', { ENOBUFS }
'Socket is already connected', { EISCONN } 'Socket is already connected', { EISCONN }
'Socket is not connected', { ENOTCONN } 'Socket is not connected', { ENOTCONN }
'Can''t send after socket shutdown', { ESHUTDOWN } 'Can''t send after socket shutdown', { ESHUTDOWN }
'Too many references: can''t splice', { ETOOMANYREFS } 'Too many references: can''t splice', { ETOOMANYREFS }
'Operation timed out', { ETIMEDOUT } 'Operation timed out', { ETIMEDOUT }
'Connection refused', { ECONNREFUSED } 'Connection refused', { ECONNREFUSED }
'Too many levels of symbolic links', { ELOOP } 'Too many levels of symbolic links', { ELOOP }
'File name too long', { ENAMETOOLONG } 'File name too long', { ENAMETOOLONG }
'Host is down', { EHOSTDOWN } 'Host is down', { EHOSTDOWN }
'No route to host', { EHOSTUNREACH } 'No route to host', { EHOSTUNREACH }
'Directory not empty', { ENOTEMPTY } 'Directory not empty', { ENOTEMPTY }
'Too many processes', { EPROCLIM } 'Too many processes', { EPROCLIM }
'Too many users', { EUSERS } 'Too many users', { EUSERS }
'Disc quota exceeded', { EDQUOT } 'Disc quota exceeded', { EDQUOT }
// Network File System // Network File System
'Stale NFS file handle', { ESTALE } 'Stale NFS file handle', { ESTALE }
'Too many levels of remote in path', { EREMOTE } 'Too many levels of remote in path', { EREMOTE }
'RPC struct is bad', { EBADRPC } 'RPC struct is bad', { EBADRPC }
'RPC version wrong', { ERPCMISMATCH } 'RPC version wrong', { ERPCMISMATCH }
'RPC prog. not avail', { EPROGUNAVAIL } 'RPC prog. not avail', { EPROGUNAVAIL }
'Program version wrong', { EPROGMISMATCH } 'Program version wrong', { EPROGMISMATCH }
'Bad procedure for program', { EPROCUNAVAIL } 'Bad procedure for program', { EPROCUNAVAIL }
'No locks available', { ENOLCK } 'No locks available', { ENOLCK }
'Function not implemented', { ENOSYS } 'Function not implemented', { ENOSYS }
'Inappropriate file type or format', { EFTYPE } 'Inappropriate file type or format', { EFTYPE }
'Authentication error', { EAUTH } 'Authentication error', { EAUTH }
'Need authenticator', { ENEEDAUTH } 'Need authenticator', { ENEEDAUTH }
'Identifier removed', { EIDRM } 'Identifier removed', { EIDRM }
'No message of desired type', { ENOMSG } 'No message of desired type', { ENOMSG }
'Value too large to be stored in data type', { EOVERFLOW } 'Value too large to be stored in data type', { EOVERFLOW }
'Operation canceled', { ECANCELED } 'Illegal byte sequence', { EILSEQ }
'Illegal byte sequence', { EILSEQ } 'Not supported', { ENOTSUP }
'Attribute not found', { ENOATTR } 'Operation canceled', { ECANCELED }
'Programming error', { EDOOFUS } 'Bad or Corrupt message', { EBADMSG }
'Bad message', { EBADMSG } 'No message available', { ENODATA }
'Multihop attempted', { EMULTIHOP } 'No STREAM resources', { ENOSR }
'Link has been severed', { ENOLINK } 'Not a STREAM', { ENOSTR }
'Protocol error' { EPROTO } 'STREAM ioctl timeout', { ETIME }
'Attribute not found', { ENOATTR }
'Multihop attempted', { EMULTIHOP }
'Link has been severed', { ENOLINK }
'Protocol error' { EPROTO }
); );