aboutsummaryrefslogtreecommitdiff
path: root/sys/include
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-06-19 22:16:26 -0400
committerIan Moffett <ian@osmora.org>2024-06-19 22:16:26 -0400
commit8c5afdb1601a1864e9fd0416b9d2f42d0bdf489a (patch)
treef48bcf37b6dce0034e64ee272f50c04b2464c59e /sys/include
parentef12b6d88bf847e17d7412e36e312517cb0ed170 (diff)
kernel: lib: Add strncmp()
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include')
-rw-r--r--sys/include/lib/string.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/include/lib/string.h b/sys/include/lib/string.h
index 3ae33ea..8500af2 100644
--- a/sys/include/lib/string.h
+++ b/sys/include/lib/string.h
@@ -44,5 +44,6 @@ 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);
+int strncmp(const char *s1, const char *s2, size_t n);
#endif /* !_LIB_STRING_H_ */