aboutsummaryrefslogtreecommitdiff
path: root/ft_strequ.c
diff options
context:
space:
mode:
Diffstat (limited to 'ft_strequ.c')
-rw-r--r--ft_strequ.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/ft_strequ.c b/ft_strequ.c
new file mode 100644
index 0000000..bd2469c
--- /dev/null
+++ b/ft_strequ.c
@@ -0,0 +1,6 @@
+#include "libft.h"
+
+int ft_strequ(char const *s1, char const *s2)
+{
+ return (ft_strcmp(s1, s2) == 0);
+}