diff options
author | Leo C. | 2024-06-24 11:56:26 +0200 |
---|---|---|
committer | Leo C. | 2024-06-24 11:56:26 +0200 |
commit | 49475345ffc5fd27ca937006ef6aa18858bf7c90 (patch) | |
tree | 4f9db5b93602156ed8867053fe76074ed9b31656 /include/errnum.h | |
parent | aea51b6c4c93c56715f50e64d424e1181c6d0242 (diff) | |
download | z180-stamp-49475345ffc5fd27ca937006ef6aa18858bf7c90.zip |
-Wimplicit-fallthrough=1
Diffstat (limited to 'include/errnum.h')
-rw-r--r-- | include/errnum.h | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/include/errnum.h b/include/errnum.h index 628c432..5faa65c 100644 --- a/include/errnum.h +++ b/include/errnum.h @@ -11,18 +11,19 @@ typedef enum { ESUCCESS = 0, - ENOMEM = 101, - EINTR, - EBUSTO, - EUNEXPARG, - EATRANGE, - EATALRDY, - EATNOT, - EATOPEN, - EATOTHER, - ERUNNING, - EINVAL, - EEOF, + // Unknown error + ENOMEM = 101, // Not enough memory + EINTR, // Interrupt + EBUSTO, // Bus timeout + EUNEXPARG, // Unexpected argument + EATRANGE, // Invalid disk number + EATALRDY, // Disk already attached + EATNOT, // Disk not attached + EATOPEN, // Error opening file + EATOTHER, // File already attached to other drive + ERUNNING, // CPU is running + EINVAL, // Invalid argument + EEOF, // Unexpected EOF } ERRNUM; |