feat(libft.h): update ft_memcmp description

This commit is contained in:
2025-10-22 19:00:49 +02:00
parent 72bb38876b
commit e68ecb0993

View File

@@ -129,7 +129,11 @@ int ft_strncmp(const char *s1, const char *s2, size_t n);
*/
void *ft_memchr(const void *s, int c, size_t n);
// TODO
/*
The memcmp() function compares byte
string s1 against byte string s2.
Both strings are assumed to be n bytes long.
*/
int ft_memcmp(const void *s1, const void *s2, size_t n);
// TODO