msvcrt: Make error strings static.
This commit is contained in:
parent
57a579ffcd
commit
28486da991
|
@ -27,46 +27,46 @@
|
|||
WINE_DEFAULT_DEBUG_CHANNEL(msvcrt);
|
||||
|
||||
/* error strings generated with glibc strerror */
|
||||
char str_success[] = "Success";
|
||||
char str_EPERM[] = "Operation not permitted";
|
||||
char str_ENOENT[] = "No such file or directory";
|
||||
char str_ESRCH[] = "No such process";
|
||||
char str_EINTR[] = "Interrupted system call";
|
||||
char str_EIO[] = "Input/output error";
|
||||
char str_ENXIO[] = "No such device or address";
|
||||
char str_E2BIG[] = "Argument list too long";
|
||||
char str_ENOEXEC[] = "Exec format error";
|
||||
char str_EBADF[] = "Bad file descriptor";
|
||||
char str_ECHILD[] = "No child processes";
|
||||
char str_EAGAIN[] = "Resource temporarily unavailable";
|
||||
char str_ENOMEM[] = "Cannot allocate memory";
|
||||
char str_EACCES[] = "Permission denied";
|
||||
char str_EFAULT[] = "Bad address";
|
||||
char str_EBUSY[] = "Device or resource busy";
|
||||
char str_EEXIST[] = "File exists";
|
||||
char str_EXDEV[] = "Invalid cross-device link";
|
||||
char str_ENODEV[] = "No such device";
|
||||
char str_ENOTDIR[] = "Not a directory";
|
||||
char str_EISDIR[] = "Is a directory";
|
||||
char str_EINVAL[] = "Invalid argument";
|
||||
char str_ENFILE[] = "Too many open files in system";
|
||||
char str_EMFILE[] = "Too many open files";
|
||||
char str_ENOTTY[] = "Inappropriate ioctl for device";
|
||||
char str_EFBIG[] = "File too large";
|
||||
char str_ENOSPC[] = "No space left on device";
|
||||
char str_ESPIPE[] = "Illegal seek";
|
||||
char str_EROFS[] = "Read-only file system";
|
||||
char str_EMLINK[] = "Too many links";
|
||||
char str_EPIPE[] = "Broken pipe";
|
||||
char str_EDOM[] = "Numerical argument out of domain";
|
||||
char str_ERANGE[] = "Numerical result out of range";
|
||||
char str_EDEADLK[] = "Resource deadlock avoided";
|
||||
char str_ENAMETOOLONG[] = "File name too long";
|
||||
char str_ENOLCK[] = "No locks available";
|
||||
char str_ENOSYS[] = "Function not implemented";
|
||||
char str_ENOTEMPTY[] = "Directory not empty";
|
||||
char str_EILSEQ[] = "Invalid or incomplete multibyte or wide character";
|
||||
char str_generic_error[] = "Unknown error";
|
||||
static char str_success[] = "Success";
|
||||
static char str_EPERM[] = "Operation not permitted";
|
||||
static char str_ENOENT[] = "No such file or directory";
|
||||
static char str_ESRCH[] = "No such process";
|
||||
static char str_EINTR[] = "Interrupted system call";
|
||||
static char str_EIO[] = "Input/output error";
|
||||
static char str_ENXIO[] = "No such device or address";
|
||||
static char str_E2BIG[] = "Argument list too long";
|
||||
static char str_ENOEXEC[] = "Exec format error";
|
||||
static char str_EBADF[] = "Bad file descriptor";
|
||||
static char str_ECHILD[] = "No child processes";
|
||||
static char str_EAGAIN[] = "Resource temporarily unavailable";
|
||||
static char str_ENOMEM[] = "Cannot allocate memory";
|
||||
static char str_EACCES[] = "Permission denied";
|
||||
static char str_EFAULT[] = "Bad address";
|
||||
static char str_EBUSY[] = "Device or resource busy";
|
||||
static char str_EEXIST[] = "File exists";
|
||||
static char str_EXDEV[] = "Invalid cross-device link";
|
||||
static char str_ENODEV[] = "No such device";
|
||||
static char str_ENOTDIR[] = "Not a directory";
|
||||
static char str_EISDIR[] = "Is a directory";
|
||||
static char str_EINVAL[] = "Invalid argument";
|
||||
static char str_ENFILE[] = "Too many open files in system";
|
||||
static char str_EMFILE[] = "Too many open files";
|
||||
static char str_ENOTTY[] = "Inappropriate ioctl for device";
|
||||
static char str_EFBIG[] = "File too large";
|
||||
static char str_ENOSPC[] = "No space left on device";
|
||||
static char str_ESPIPE[] = "Illegal seek";
|
||||
static char str_EROFS[] = "Read-only file system";
|
||||
static char str_EMLINK[] = "Too many links";
|
||||
static char str_EPIPE[] = "Broken pipe";
|
||||
static char str_EDOM[] = "Numerical argument out of domain";
|
||||
static char str_ERANGE[] = "Numerical result out of range";
|
||||
static char str_EDEADLK[] = "Resource deadlock avoided";
|
||||
static char str_ENAMETOOLONG[] = "File name too long";
|
||||
static char str_ENOLCK[] = "No locks available";
|
||||
static char str_ENOSYS[] = "Function not implemented";
|
||||
static char str_ENOTEMPTY[] = "Directory not empty";
|
||||
static char str_EILSEQ[] = "Invalid or incomplete multibyte or wide character";
|
||||
static char str_generic_error[] = "Unknown error";
|
||||
|
||||
char *MSVCRT__sys_errlist[] =
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue