aboutsummaryrefslogtreecommitdiff
path: root/ft_strnequ.c
diff options
context:
space:
mode:
Diffstat (limited to 'ft_strnequ.c')
-rw-r--r--ft_strnequ.c16
1 files changed, 14 insertions, 2 deletions
diff --git a/ft_strnequ.c b/ft_strnequ.c
index 6eb58bf..34d0627 100644
--- a/ft_strnequ.c
+++ b/ft_strnequ.c
@@ -1,6 +1,18 @@
+/* ************************************************************************** */
+/* */
+/* ::: :::::::: */
+/* ft_strnequ.c :+: :+: :+: */
+/* +:+ +:+ +:+ */
+/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
+/* +#+#+#+#+#+ +#+ */
+/* Created: 2019/10/07 10:30:27 by cacharle #+# #+# */
+/* Updated: 2019/10/07 10:30:33 by cacharle ### ########.fr */
+/* */
+/* ************************************************************************** */
+
#include "libft.h"
-int ft_strnequ(char const *s1, char const *s2, size_t n)
+int ft_strnequ(char const *s1, char const *s2, size_t n)
{
- return (ft_strncmp(s1, s2, n) == 0);
+ return (ft_strncmp(s1, s2, n) == 0);
}