summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/include/camellia/errno.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/shared/include/camellia/errno.h b/src/shared/include/camellia/errno.h
index 1e4841c..263bd25 100644
--- a/src/shared/include/camellia/errno.h
+++ b/src/shared/include/camellia/errno.h
@@ -1,15 +1,18 @@
#pragma once
+/* the comments are directly pasted into user visible strings.
+ * keep them short, don't include " */
+#define EGENERIC 1 /* unknown error */
#define EFAULT 2
-#define EBADF 3 /* Invalid file descriptor. */
+#define EBADF 3 /* bad file descriptor */
#define EINVAL 4
-#define ENOSYS 5 /* Unsupported. */
+#define ENOSYS 5 /* unsupported */
#define ERANGE 6
#define ENOMEM 7
#define ENOENT 8
#define ENOTEMPTY 9
#define EACCES 10
-#define EMFILE 11 /* All file descriptors taken. */
+#define EMFILE 11 /* all file descriptors taken */
#define ECONNRESET 12
#define EISDIR 200