diff options
Diffstat (limited to 'src/lib/libc/include/string.h')
-rw-r--r-- | src/lib/libc/include/string.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/lib/libc/include/string.h b/src/lib/libc/include/string.h index 11da895..bce2950 100644 --- a/src/lib/libc/include/string.h +++ b/src/lib/libc/include/string.h @@ -40,6 +40,16 @@ size_t strlen(const char *s); /* + * Compare a string against another + * + * @s1: First string to compare + * @s2: Second string to compare + * + * Returns zero if strings are equal + */ +int strcmp(const char *s1, const char *s2); + +/* * Get the length of a string with a maximum * length * |