From 9a2b208985ac7d4644c718ada74770b98eeb4598 Mon Sep 17 00:00:00 2001 From: Charles Date: Mon, 29 Jul 2019 16:56:27 +0200 Subject: part 2 done (except putchar and putstr unicode) --- ft_strnequ.c | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 ft_strnequ.c (limited to 'ft_strnequ.c') diff --git a/ft_strnequ.c b/ft_strnequ.c new file mode 100644 index 0000000..6eb58bf --- /dev/null +++ b/ft_strnequ.c @@ -0,0 +1,6 @@ +#include "libft.h" + +int ft_strnequ(char const *s1, char const *s2, size_t n) +{ + return (ft_strncmp(s1, s2, n) == 0); +} -- cgit