mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-15 20:33:10 +00:00
Kernel+LibC: Add ECANCELED errno value
This is needed for clangd to compile.
This commit is contained in:
parent
dee0c004e0
commit
e37dbee017
|
@ -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 {
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue