summaryrefslogtreecommitdiff
path: root/src/user/include/knob/block.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/user/include/knob/block.h')
-rw-r--r--src/user/include/knob/block.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/user/include/knob/block.h b/src/user/include/knob/block.h
index 56d3740..f77709d 100644
--- a/src/user/include/knob/block.h
+++ b/src/user/include/knob/block.h
@@ -13,4 +13,9 @@ uint32_t strcpy(char *to, const char *from);
//allocates new memory
char *strdup(const char *from);
+//without null-terminator
+uint32_t strlen(const char *str) __attribute__ ((pure));
+
+bool strequ(const char *a, const char *b) __attribute__ ((pure));
+
#endif \ No newline at end of file