From e68ecb099395f5bbd0ef38259835a2788c2bd20b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20GUEZO?= Date: Wed, 22 Oct 2025 19:00:49 +0200 Subject: [PATCH] feat(libft.h): update ft_memcmp description --- libft.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libft.h b/libft.h index e63492d..dc215cc 100644 --- a/libft.h +++ b/libft.h @@ -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