diff options
author | Ian Moffett <ian@osmora.org> | 2024-06-13 18:30:55 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2024-06-13 18:33:39 -0400 |
commit | 7221137c81b87a25c800b0aa186f0c2a566355d0 (patch) | |
tree | 304394ea5a49bed412e18f16ab66156a712c05dd /sys/include | |
parent | 89faf05372902e19c0d15691022d4b0cf29ba2ef (diff) |
kernel: string: Add strcmp()
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include')
-rw-r--r-- | sys/include/lib/string.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/include/lib/string.h b/sys/include/lib/string.h index 89c728f..3ae33ea 100644 --- a/sys/include/lib/string.h +++ b/sys/include/lib/string.h @@ -41,6 +41,8 @@ int snprintf(char *s, size_t size, const char *fmt, ...); void *memcpy(void *dest, const void *src, size_t n); int memcmp(const void *s1, const void *s2, size_t n); + void *memset(void *s, int c, size_t n); +int strcmp(const char *s1, const char *s2); #endif /* !_LIB_STRING_H_ */ |