mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-20 19:45:12 +00:00
LibC: Add missing macro definitions for errno codes
This commit is contained in:
parent
739d870091
commit
d79486109a
Notes:
sideshowbarker
2024-07-17 11:07:53 +09:00
Author: https://github.com/circl-lastname Commit: https://github.com/SerenityOS/serenity/commit/d79486109a Pull-request: https://github.com/SerenityOS/serenity/pull/13985 Reviewed-by: https://github.com/BertalanD ✅
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
Reference in a new issue