#ifndef CORE_LIBS_PRX_LIBKERNEL_KERNELERRORS_HPP #define CORE_LIBS_PRX_LIBKERNEL_KERNELERRORS_HPP constexpr int SceKernelError(int errnoValue) { return static_cast(0x80020000u | static_cast(errnoValue)); } inline constexpr int SCE_KERNEL_ERROR_EPERM = SceKernelError(1); inline constexpr int SCE_KERNEL_ERROR_ENOENT = SceKernelError(2); inline constexpr int SCE_KERNEL_ERROR_ESRCH = SceKernelError(3); inline constexpr int SCE_KERNEL_ERROR_EINTR = SceKernelError(4); inline constexpr int SCE_KERNEL_ERROR_EIO = SceKernelError(5); inline constexpr int SCE_KERNEL_ERROR_ENXIO = SceKernelError(6); inline constexpr int SCE_KERNEL_ERROR_E2BIG = SceKernelError(7); inline constexpr int SCE_KERNEL_ERROR_ENOEXEC = SceKernelError(8); inline constexpr int SCE_KERNEL_ERROR_EBADF = SceKernelError(9); inline constexpr int SCE_KERNEL_ERROR_ECHILD = SceKernelError(10); inline constexpr int SCE_KERNEL_ERROR_EDEADLK = SceKernelError(11); inline constexpr int SCE_KERNEL_ERROR_ENOMEM = SceKernelError(12); inline constexpr int SCE_KERNEL_ERROR_EACCES = SceKernelError(13); inline constexpr int SCE_KERNEL_ERROR_EFAULT = SceKernelError(14); inline constexpr int SCE_KERNEL_ERROR_ENOTBLK = SceKernelError(15); inline constexpr int SCE_KERNEL_ERROR_EBUSY = SceKernelError(16); inline constexpr int SCE_KERNEL_ERROR_EEXIST = SceKernelError(17); inline constexpr int SCE_KERNEL_ERROR_EXDEV = SceKernelError(18); inline constexpr int SCE_KERNEL_ERROR_ENODEV = SceKernelError(19); inline constexpr int SCE_KERNEL_ERROR_ENOTDIR = SceKernelError(20); inline constexpr int SCE_KERNEL_ERROR_EISDIR = SceKernelError(21); inline constexpr int SCE_KERNEL_ERROR_EINVAL = SceKernelError(22); inline constexpr int SCE_KERNEL_ERROR_ENFILE = SceKernelError(23); inline constexpr int SCE_KERNEL_ERROR_EMFILE = SceKernelError(24); inline constexpr int SCE_KERNEL_ERROR_ENOTTY = SceKernelError(25); inline constexpr int SCE_KERNEL_ERROR_ETXTBSY = SceKernelError(26); inline constexpr int SCE_KERNEL_ERROR_EFBIG = SceKernelError(27); inline constexpr int SCE_KERNEL_ERROR_ENOSPC = SceKernelError(28); inline constexpr int SCE_KERNEL_ERROR_ESPIPE = SceKernelError(29); inline constexpr int SCE_KERNEL_ERROR_EROFS = SceKernelError(30); inline constexpr int SCE_KERNEL_ERROR_EMLINK = SceKernelError(31); inline constexpr int SCE_KERNEL_ERROR_EPIPE = SceKernelError(32); inline constexpr int SCE_KERNEL_ERROR_EDOM = SceKernelError(33); inline constexpr int SCE_KERNEL_ERROR_ERANGE = SceKernelError(34); inline constexpr int SCE_KERNEL_ERROR_EAGAIN = SceKernelError(35); inline constexpr int SCE_KERNEL_ERROR_EINPROGRESS = SceKernelError(36); inline constexpr int SCE_KERNEL_ERROR_EALREADY = SceKernelError(37); inline constexpr int SCE_KERNEL_ERROR_ENOTSOCK = SceKernelError(38); inline constexpr int SCE_KERNEL_ERROR_EDESTADDRREQ = SceKernelError(39); inline constexpr int SCE_KERNEL_ERROR_EMSGSIZE = SceKernelError(40); inline constexpr int SCE_KERNEL_ERROR_EPROTOTYPE = SceKernelError(41); inline constexpr int SCE_KERNEL_ERROR_ENOPROTOOPT = SceKernelError(42); inline constexpr int SCE_KERNEL_ERROR_EPROTONOSUPPORT = SceKernelError(43); inline constexpr int SCE_KERNEL_ERROR_ESOCKTNOSUPPORT = SceKernelError(44); inline constexpr int SCE_KERNEL_ERROR_EOPNOTSUPP = SceKernelError(45); inline constexpr int SCE_KERNEL_ERROR_EPFNOSUPPORT = SceKernelError(46); inline constexpr int SCE_KERNEL_ERROR_EAFNOSUPPORT = SceKernelError(47); inline constexpr int SCE_KERNEL_ERROR_EADDRINUSE = SceKernelError(48); inline constexpr int SCE_KERNEL_ERROR_EADDRNOTAVAIL = SceKernelError(49); inline constexpr int SCE_KERNEL_ERROR_ENETDOWN = SceKernelError(50); inline constexpr int SCE_KERNEL_ERROR_ENETUNREACH = SceKernelError(51); inline constexpr int SCE_KERNEL_ERROR_ENETRESET = SceKernelError(52); inline constexpr int SCE_KERNEL_ERROR_ECONNABORTED = SceKernelError(53); inline constexpr int SCE_KERNEL_ERROR_ECONNRESET = SceKernelError(54); inline constexpr int SCE_KERNEL_ERROR_ENOBUFS = SceKernelError(55); inline constexpr int SCE_KERNEL_ERROR_EISCONN = SceKernelError(56); inline constexpr int SCE_KERNEL_ERROR_ENOTCONN = SceKernelError(57); inline constexpr int SCE_KERNEL_ERROR_ESHUTDOWN = SceKernelError(58); inline constexpr int SCE_KERNEL_ERROR_ETOOMANYREFS = SceKernelError(59); inline constexpr int SCE_KERNEL_ERROR_ETIMEDOUT = SceKernelError(60); inline constexpr int SCE_KERNEL_ERROR_ECONNREFUSED = SceKernelError(61); inline constexpr int SCE_KERNEL_ERROR_ELOOP = SceKernelError(62); inline constexpr int SCE_KERNEL_ERROR_ENAMETOOLONG = SceKernelError(63); inline constexpr int SCE_KERNEL_ERROR_EHOSTDOWN = SceKernelError(64); inline constexpr int SCE_KERNEL_ERROR_EHOSTUNREACH = SceKernelError(65); inline constexpr int SCE_KERNEL_ERROR_ENOTEMPTY = SceKernelError(66); inline constexpr int SCE_KERNEL_ERROR_EPROCLIM = SceKernelError(67); inline constexpr int SCE_KERNEL_ERROR_EUSERS = SceKernelError(68); inline constexpr int SCE_KERNEL_ERROR_EDQUOT = SceKernelError(69); inline constexpr int SCE_KERNEL_ERROR_ESTALE = SceKernelError(70); inline constexpr int SCE_KERNEL_ERROR_EREMOTE = SceKernelError(71); inline constexpr int SCE_KERNEL_ERROR_EBADRPC = SceKernelError(72); inline constexpr int SCE_KERNEL_ERROR_ERPCMISMATCH = SceKernelError(73); inline constexpr int SCE_KERNEL_ERROR_EPROGUNAVAIL = SceKernelError(74); inline constexpr int SCE_KERNEL_ERROR_EPROGMISMATCH = SceKernelError(75); inline constexpr int SCE_KERNEL_ERROR_EPROCUNAVAIL = SceKernelError(76); inline constexpr int SCE_KERNEL_ERROR_ENOLCK = SceKernelError(77); inline constexpr int SCE_KERNEL_ERROR_ENOSYS = SceKernelError(78); inline constexpr int SCE_KERNEL_ERROR_EFTYPE = SceKernelError(79); inline constexpr int SCE_KERNEL_ERROR_EAUTH = SceKernelError(80); inline constexpr int SCE_KERNEL_ERROR_ENEEDAUTH = SceKernelError(81); inline constexpr int SCE_KERNEL_ERROR_EIDRM = SceKernelError(82); inline constexpr int SCE_KERNEL_ERROR_ENOMSG = SceKernelError(83); inline constexpr int SCE_KERNEL_ERROR_EOVERFLOW = SceKernelError(84); inline constexpr int SCE_KERNEL_ERROR_ECANCELED = SceKernelError(85); inline constexpr int SCE_KERNEL_ERROR_EILSEQ = SceKernelError(86); inline constexpr int SCE_KERNEL_ERROR_ENOATTR = SceKernelError(87); inline constexpr int SCE_KERNEL_ERROR_EDOOFUS = SceKernelError(88); inline constexpr int SCE_KERNEL_ERROR_EBADMSG = SceKernelError(89); inline constexpr int SCE_KERNEL_ERROR_EMULTIHOP = SceKernelError(90); inline constexpr int SCE_KERNEL_ERROR_ENOLINK = SceKernelError(91); inline constexpr int SCE_KERNEL_ERROR_EPROTO = SceKernelError(92); inline constexpr int SCE_KERNEL_ERROR_ENOTCAPABLE = SceKernelError(93); inline constexpr int SCE_KERNEL_ERROR_ECAPMODE = SceKernelError(94); #endif