Kernel+LibC: Add ECANCELED errno value

This is needed for clangd to compile.
This commit is contained in:
Daniel Bertalan 2021-12-28 10:25:09 +01:00 committed by Brian Gianforcaro
parent dee0c004e0
commit e37dbee017
2 changed files with 2 additions and 0 deletions

View file

@ -88,6 +88,7 @@
E(EDIRINTOSELF, "Cannot make directory a subdirectory of itself") \ E(EDIRINTOSELF, "Cannot make directory a subdirectory of itself") \
E(EDQUOT, "Quota exceeded") \ E(EDQUOT, "Quota exceeded") \
E(ENOTRECOVERABLE, "State not recoverable") \ E(ENOTRECOVERABLE, "State not recoverable") \
E(ECANCELED, "Operation cancelled") \
E(EMAXERRNO, "The highest errno +1 :^)") E(EMAXERRNO, "The highest errno +1 :^)")
enum ErrnoCode { enum ErrnoCode {

View file

@ -88,6 +88,7 @@
#define EDQUOT EDQUOT #define EDQUOT EDQUOT
#define EDIRINTOSELF EDIRINTOSELF #define EDIRINTOSELF EDIRINTOSELF
#define ENOTRECOVERABLE ENOTRECOVERABLE #define ENOTRECOVERABLE ENOTRECOVERABLE
#define ECANCELED ECANCELED
#define EMAXERRNO EMAXERRNO #define EMAXERRNO EMAXERRNO
#define EWOULDBLOCK EAGAIN #define EWOULDBLOCK EAGAIN