aboutsummaryrefslogtreecommitdiff
path: root/sys/include/lib
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-06-13 18:30:55 -0400
committerIan Moffett <ian@osmora.org>2024-06-13 18:33:39 -0400
commit7221137c81b87a25c800b0aa186f0c2a566355d0 (patch)
tree304394ea5a49bed412e18f16ab66156a712c05dd /sys/include/lib
parent89faf05372902e19c0d15691022d4b0cf29ba2ef (diff)
kernel: string: Add strcmp()
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include/lib')
-rw-r--r--sys/include/lib/string.h2
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_ */