mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 17:44:45 +00:00
Fixed the error string odering.
svn path=/trunk/; revision=3004
This commit is contained in:
parent
6e8befbaa7
commit
d55c657a07
1 changed files with 47 additions and 39 deletions
|
@ -5,44 +5,51 @@
|
|||
|
||||
|
||||
char __syserr00[] = "No Error";
|
||||
char __syserr01[] = "Input to function out of range (EDOM)";
|
||||
char __syserr02[] = "Output of function out of range (ERANGE)";
|
||||
char __syserr03[] = "Argument list too long (E2BIG)";
|
||||
char __syserr04[] = "Permission denied (EACCES)";
|
||||
char __syserr05[] = "Resource temporarily unavailable (EAGAIN)";
|
||||
char __syserr06[] = "Bad file descriptor (EBADF)";
|
||||
char __syserr07[] = "Resource busy (EBUSY)";
|
||||
char __syserr08[] = "No child processes (ECHILD)";
|
||||
char __syserr09[] = "Resource deadlock avoided (EDEADLK)";
|
||||
char __syserr10[] = "File exists (EEXIST)";
|
||||
char __syserr11[] = "Bad address (EFAULT)";
|
||||
char __syserr12[] = "File too large (EFBIG)";
|
||||
char __syserr13[] = "Interrupted system call (EINTR)";
|
||||
char __syserr14[] = "Invalid argument (EINVAL)";
|
||||
char __syserr15[] = "Input or output error (EIO)";
|
||||
char __syserr16[] = "Is a directory (EISDIR)";
|
||||
char __syserr17[] = "Too many open files (EMFILE)";
|
||||
char __syserr18[] = "Too many links (EMLINK)";
|
||||
char __syserr19[] = "File name too long (ENAMETOOLONG)";
|
||||
char __syserr20[] = "Too many open files in system (ENFILE)";
|
||||
char __syserr21[] = "No such device (ENODEV)";
|
||||
char __syserr22[] = "No such file or directory (ENOENT)";
|
||||
char __syserr23[] = "Unable to execute file (ENOEXEC)";
|
||||
char __syserr24[] = "No locks available (ENOLCK)";
|
||||
char __syserr25[] = "Not enough memory (ENOMEM)";
|
||||
char __syserr26[] = "No space left on drive (ENOSPC)";
|
||||
char __syserr27[] = "Function not implemented (ENOSYS)";
|
||||
char __syserr28[] = "Not a directory (ENOTDIR)";
|
||||
char __syserr29[] = "Directory not empty (ENOTEMPTY)";
|
||||
char __syserr30[] = "Inappropriate I/O control operation (ENOTTY)";
|
||||
char __syserr31[] = "No such device or address (ENXIO)";
|
||||
char __syserr32[] = "Operation not permitted (EPERM)";
|
||||
char __syserr33[] = "Broken pipe (EPIPE)";
|
||||
char __syserr34[] = "Read-only file system (EROFS)";
|
||||
char __syserr35[] = "Invalid seek (ESPIPE)";
|
||||
char __syserr36[] = "No such process (ESRCH)";
|
||||
char __syserr37[] = "Improper link (EXDEV)";
|
||||
char __syserr38[] = "No more files (ENMFILE)";
|
||||
char __syserr01[] = "Operation not permitted (EPERM)";
|
||||
char __syserr02[] = "No such file or directory (ENOENT)";
|
||||
char __syserr03[] = "No such process (ESRCH)";
|
||||
char __syserr04[] = "Interrupted system call (EINTR)";
|
||||
char __syserr05[] = "Input or output error (EIO)";
|
||||
char __syserr06[] = "No such device or address (ENXIO)";
|
||||
char __syserr07[] = "Argument list too long (E2BIG)";
|
||||
char __syserr08[] = "Unable to execute file (ENOEXEC)";
|
||||
char __syserr09[] = "Bad file descriptor (EBADF)";
|
||||
char __syserr10[] = "No child processes (ECHILD)";
|
||||
char __syserr11[] = "Resource temporarily unavailable (EAGAIN)";
|
||||
char __syserr12[] = "Not enough memory (ENOMEM)";
|
||||
char __syserr13[] = "Permission denied (EACCES)";
|
||||
char __syserr14[] = "Bad address (EFAULT)";
|
||||
char __syserr15[] = "Unknown Error: 15";
|
||||
char __syserr16[] = "Resource busy (EBUSY)";
|
||||
char __syserr17[] = "File exists (EEXIST)";
|
||||
char __syserr18[] = "Improper link (EXDEV)";
|
||||
char __syserr19[] = "No such device (ENODEV)";
|
||||
char __syserr20[] = "Not a directory (ENOTDIR)";
|
||||
char __syserr21[] = "Is a directory (EISDIR)";
|
||||
char __syserr22[] = "Invalid argument (EINVAL)";
|
||||
char __syserr23[] = "Too many open files in system (ENFILE)";
|
||||
char __syserr24[] = "Too many open files (EMFILE)";
|
||||
char __syserr25[] = "Inappropriate I/O control operation (ENOTTY)";
|
||||
char __syserr26[] = "Unknown error: 26";
|
||||
char __syserr27[] = "File too large (EFBIG)";
|
||||
char __syserr28[] = "No space left on drive (ENOSPC)";
|
||||
char __syserr29[] = "Invalid seek (ESPIPE)";
|
||||
char __syserr30[] = "Read-only file system (EROFS)";
|
||||
char __syserr31[] = "Too many links (EMLINK)";
|
||||
char __syserr32[] = "Broken pipe (EPIPE)";
|
||||
char __syserr33[] = "Input to function out of range (EDOM)";
|
||||
char __syserr34[] = "Output of function out of range (ERANGE)";
|
||||
char __syserr35[] = "Unknown error: 35";
|
||||
char __syserr36[] = "Resource deadlock avoided (EDEADLK)";
|
||||
char __syserr37[] = "Unknown error: 37";
|
||||
char __syserr38[] = "File name too long (ENAMETOOLONG)";
|
||||
char __syserr39[] = "No locks available (ENOLCK)";
|
||||
char __syserr40[] = "Function not implemented (ENOSYS)";
|
||||
char __syserr41[] = "Directory not empty (ENOTEMPTY)";
|
||||
char __syserr42[] = "Illegal byte sequence (EILSEQ)";
|
||||
|
||||
|
||||
|
||||
|
||||
const char *_sys_errlist[] = {
|
||||
__syserr00, __syserr01, __syserr02, __syserr03, __syserr04,
|
||||
|
@ -52,7 +59,8 @@ __syserr15, __syserr16, __syserr17, __syserr18, __syserr19,
|
|||
__syserr20, __syserr21, __syserr22, __syserr23, __syserr24,
|
||||
__syserr25, __syserr26, __syserr27, __syserr28, __syserr29,
|
||||
__syserr30, __syserr31, __syserr32, __syserr33, __syserr34,
|
||||
__syserr35, __syserr36, __syserr37, __syserr38
|
||||
__syserr35, __syserr36, __syserr37, __syserr38, __syserr39,
|
||||
__syserr40, __syserr41, __syserr42
|
||||
};
|
||||
|
||||
int __sys_nerr = sizeof(_sys_errlist) / sizeof(_sys_errlist[0]);
|
||||
|
|
Loading…
Reference in a new issue