1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 08:24:58 +00:00

LibC: Add missing macro definitions for errno codes

This commit is contained in:
circl 2022-05-08 21:24:33 +02:00 committed by Brian Gianforcaro
parent 739d870091
commit d79486109a

View file

@ -9,6 +9,7 @@
#include <Kernel/API/POSIX/errno.h> #include <Kernel/API/POSIX/errno.h>
// NOTE: You can't define with a macro, so these have to be duplicated. // NOTE: You can't define with a macro, so these have to be duplicated.
#define ESUCCESS ESUCCESS
#define EPERM EPERM #define EPERM EPERM
#define ENOENT ENOENT #define ENOENT ENOENT
#define ESRCH ESRCH #define ESRCH ESRCH
@ -74,8 +75,8 @@
#define ENOTCONN ENOTCONN #define ENOTCONN ENOTCONN
#define ESHUTDOWN ESHUTDOWN #define ESHUTDOWN ESHUTDOWN
#define ETOOMANYREFS ETOOMANYREFS #define ETOOMANYREFS ETOOMANYREFS
#define EPROTONOSUPPORT EPROTONOSUPPORT
#define ESOCKTNOSUPPORT ESOCKTNOSUPPORT #define ESOCKTNOSUPPORT ESOCKTNOSUPPORT
#define EPROTONOSUPPORT EPROTONOSUPPORT
#define EDEADLK EDEADLK #define EDEADLK EDEADLK
#define ETIMEDOUT ETIMEDOUT #define ETIMEDOUT ETIMEDOUT
#define EPROTOTYPE EPROTOTYPE #define EPROTOTYPE EPROTOTYPE
@ -84,10 +85,12 @@
#define EPROTO EPROTO #define EPROTO EPROTO
#define ENOTSUP ENOTSUP #define ENOTSUP ENOTSUP
#define EPFNOSUPPORT EPFNOSUPPORT #define EPFNOSUPPORT EPFNOSUPPORT
#define EDQUOT EDQUOT
#define EDIRINTOSELF EDIRINTOSELF #define EDIRINTOSELF EDIRINTOSELF
#define EDQUOT EDQUOT
#define ENOTRECOVERABLE ENOTRECOVERABLE #define ENOTRECOVERABLE ENOTRECOVERABLE
#define ECANCELED ECANCELED #define ECANCELED ECANCELED
#define EPROMISEVIOLATION EPROMISEVIOLATION
#define ESTALE ESTALE
#define EMAXERRNO EMAXERRNO #define EMAXERRNO EMAXERRNO
#define EWOULDBLOCK EAGAIN #define EWOULDBLOCK EAGAIN