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
Notes: sideshowbarker 2024-07-17 11:07:53 +09:00

View file

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