mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 03:04:57 +00:00
LibC: Add missing macro definitions for errno codes
This commit is contained in:
parent
739d870091
commit
d79486109a
1 changed files with 5 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue