diff options
Diffstat (limited to 'ft_strncmp.c')
| -rw-r--r-- | ft_strncmp.c | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/ft_strncmp.c b/ft_strncmp.c index 0f24a1e..7246d5b 100644 --- a/ft_strncmp.c +++ b/ft_strncmp.c @@ -1,8 +1,20 @@ +/* ************************************************************************** */ +/* */ +/* ::: :::::::: */ +/* ft_strncmp.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2019/10/07 10:27:34 by cacharle #+# #+# */ +/* Updated: 2019/10/07 10:27:59 by cacharle ### ########.fr */ +/* */ +/* ************************************************************************** */ + #include <string.h> -int ft_strncmp(const char *s1, const char *s2, size_t n) +int ft_strncmp(const char *s1, const char *s2, size_t n) { - size_t i; + size_t i; if (n == 0) return (0); |
