aboutsummaryrefslogtreecommitdiff
path: root/string/common.h
diff options
context:
space:
mode:
authorDavid <dbphillipsnz@gmail.com>2013-11-11 19:02:19 +1300
committerDavid <dbphillipsnz@gmail.com>2014-03-27 20:32:47 +1300
commitb707eed2ccab33aa5c008a84d4a74788b4b2e52d (patch)
tree7f6402a0025e084559e5fe4646a94c11d9e670ef /string/common.h
parent9d9de30b314f763069ed18fe8da8b6187d6faf38 (diff)
downloadtoast-b707eed2ccab33aa5c008a84d4a74788b4b2e52d.tar.xz
Added %o %b %c in printf(), started memory detection
Diffstat (limited to 'string/common.h')
-rw-r--r--string/common.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/string/common.h b/string/common.h
index f332f1c..82ad4b1 100644
--- a/string/common.h
+++ b/string/common.h
@@ -19,8 +19,10 @@
#ifndef STRING_COMMON_H
#define STRING_COMMON_H
-uint64_t strlen(char *string);
-void itoa(uint32_t num,char *buffer);
-uint32_t atoi(char *string);
+uint64_t strlen(const char *string);
+bool itoa(uint32_t num, char *buffer, uint8_t base);
+uint32_t atoi(const char *string);
+void memcpy(void *to, const void *from, uint32_t size);
+void memset(void *to, uint8_t value, uint32_t size);
#endif \ No newline at end of file