summaryrefslogtreecommitdiff
path: root/include/errnum.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/errnum.h')
-rw-r--r--include/errnum.h25
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;