diff options
author | Ian Moffett <ian@osmora.org> | 2024-02-26 12:36:24 -0500 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2024-02-26 12:36:24 -0500 |
commit | ef4c895aa1cdb24fd762a65fc468a4bddbd3fb29 (patch) | |
tree | 11f098f8f7749b157fc4652458813ecc910f6782 /sys/include/lib/string.h | |
parent | b3ef38de81c03b5f86fd69805351d64760a1bf09 (diff) |
kernel: Add strcmp()
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include/lib/string.h')
-rw-r--r-- | sys/include/lib/string.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/include/lib/string.h b/sys/include/lib/string.h index 5c6b3ba..d8f6ea2 100644 --- a/sys/include/lib/string.h +++ b/sys/include/lib/string.h @@ -40,5 +40,6 @@ void *memcpy32(void *dest, const void *src, size_t n); void *memset(void *s, int c, size_t n); void *memset64(void *s, int c, size_t n); int memcmp(const void *s1, const void *s2, size_t n); +int strcmp(const char *s1, const char *s2); #endif /* !_LIB_STRING_H_ */ |