aboutsummaryrefslogtreecommitdiff
path: root/include/apos/types.h
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2022-04-16 20:27:46 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2022-04-16 20:27:46 +0300
commit67c9dc06ca0b5aec6430d50af9444bbe85b6deb5 (patch)
treed8f1d9b0b401f61312634b8e2d579249ea4dec34 /include/apos/types.h
parente71dd2d9fe1cc3a6d074f9c1894e2c5200cecdb1 (diff)
downloadkmi-67c9dc06ca0b5aec6430d50af9444bbe85b6deb5.tar.gz
kmi-67c9dc06ca0b5aec6430d50af9444bbe85b6deb5.zip
initial thread id handling
+ At least initial in the sense that this seems like the smartest way to handle things, that is.
Diffstat (limited to 'include/apos/types.h')
-rw-r--r--include/apos/types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/apos/types.h b/include/apos/types.h
index 48972da..2f06ec4 100644
--- a/include/apos/types.h
+++ b/include/apos/types.h
@@ -184,6 +184,8 @@ typedef uint_fast16_t vmflags_t;
/* negative error codes are reserved for general usage, positive error codes are
* allowed to be function-specific. */
enum {
+ ERR_NOINIT = -7, /* not initialized */
+ ERR_INVAL = -6, /* invalid value */
ERR_EXT = -5, /* already exists */
ERR_OOMEM = -4, /* out of memory */
ERR_ADDR = -3, /* illegal address */