mirror of
https://git.citron-emu.org/Citron/Citron.git
synced 2025-03-15 06:44:48 +00:00
sockets: reorder errno values numerically
Reorder the Errno enum values to be in ascending numerical order, moving NOMEM (12) to be between AGAIN (11) and INVAL (22). This improves readability and makes it easier to verify completeness of the error code list.
This commit is contained in:
parent
3aa9c0d151
commit
227db142e2
1 changed files with 1 additions and 1 deletions
|
@ -16,6 +16,7 @@ enum class Errno : u32 {
|
|||
SUCCESS = 0,
|
||||
BADF = 9,
|
||||
AGAIN = 11,
|
||||
NOMEM = 12,
|
||||
INVAL = 22,
|
||||
MFILE = 24,
|
||||
PIPE = 32,
|
||||
|
@ -26,7 +27,6 @@ enum class Errno : u32 {
|
|||
TIMEDOUT = 110,
|
||||
CONNREFUSED = 111,
|
||||
INPROGRESS = 115,
|
||||
NOMEM = 12,
|
||||
};
|
||||
|
||||
enum class GetAddrInfoError : s32 {
|
||||
|
|
Loading…
Add table
Reference in a new issue