Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

87 lines (84 sloc) 1.438 kB
/* Generated by gen_xl_errno.pl */
#include <errno.h>
static const int arch_to_generic_table[] = {
[0] = 0,
[EPERM] = -1,
[ENOENT] = -2,
[ESRCH] = -3,
[EINTR] = -4,
[EIO] = -5,
[ENXIO] = -6,
[E2BIG] = -7,
[ENOEXEC] = -8,
[EBADF] = -9,
[ECHILD] = -10,
[EAGAIN] = -11,
[ENOMEM] = -12,
[EACCES] = -13,
[EFAULT] = -14,
[EBUSY] = -16,
[EEXIST] = -17,
[EXDEV] = -18,
[ENODEV] = -19,
[ENOTDIR] = -20,
[EISDIR] = -21,
[EINVAL] = -22,
[ENFILE] = -23,
[EMFILE] = -24,
[ENOTTY] = -25,
[EFBIG] = -27,
[ENOSPC] = -28,
[ESPIPE] = -29,
[EROFS] = -30,
[EMLINK] = -31,
[EPIPE] = -32,
[EDOM] = -33,
[ERANGE] = -34,
[EDEADLK] = -35,
[ENAMETOOLONG] = -36,
[ENOLCK] = -37,
[ENOSYS] = -38,
[ENOTEMPTY] = -39,
[EILSEQ] = -84,
};
static const int generic_to_arch_table[] = {
[0] = 0,
[1] = -EPERM,
[2] = -ENOENT,
[3] = -ESRCH,
[4] = -EINTR,
[5] = -EIO,
[6] = -ENXIO,
[7] = -E2BIG,
[8] = -ENOEXEC,
[9] = -EBADF,
[10] = -ECHILD,
[11] = -EAGAIN,
[12] = -ENOMEM,
[13] = -EACCES,
[14] = -EFAULT,
[16] = -EBUSY,
[17] = -EEXIST,
[18] = -EXDEV,
[19] = -ENODEV,
[20] = -ENOTDIR,
[21] = -EISDIR,
[22] = -EINVAL,
[23] = -ENFILE,
[24] = -EMFILE,
[25] = -ENOTTY,
[27] = -EFBIG,
[28] = -ENOSPC,
[29] = -ESPIPE,
[30] = -EROFS,
[31] = -EMLINK,
[32] = -EPIPE,
[33] = -EDOM,
[34] = -ERANGE,
[35] = -EDEADLK,
[36] = -ENAMETOOLONG,
[37] = -ENOLCK,
[38] = -ENOSYS,
[39] = -ENOTEMPTY,
[84] = -EILSEQ,
};
Jump to Line
Something went wrong with that request. Please try again.