diff options
author | David <dbphillipsnz@gmail.com> | 2013-11-11 19:02:19 +1300 |
---|---|---|
committer | David <dbphillipsnz@gmail.com> | 2014-03-27 20:32:47 +1300 |
commit | b707eed2ccab33aa5c008a84d4a74788b4b2e52d (patch) | |
tree | 7f6402a0025e084559e5fe4646a94c11d9e670ef /string/common.h | |
parent | 9d9de30b314f763069ed18fe8da8b6187d6faf38 (diff) | |
download | toast-b707eed2ccab33aa5c008a84d4a74788b4b2e52d.tar.xz |
Added %o %b %c in printf(), started memory detection
Diffstat (limited to 'string/common.h')
-rw-r--r-- | string/common.h | 8 |
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 |