-
Notifications
You must be signed in to change notification settings - Fork 0
/
ft_strequ.c
executable file
·20 lines (18 loc) · 1.03 KB
/
ft_strequ.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_strequ.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: akharrou <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/02/19 07:24:38 by akharrou #+# #+# */
/* Updated: 2019/03/04 13:17:20 by akharrou ### ########.fr */
/* */
/* ************************************************************************** */
#include "../Includes/string_42.h"
int ft_strequ(char const *s1, char const *s2)
{
if (s1 && s2)
return (ft_strcmp(s1, s2) == 0) ? 1 : 0;
return (0);
}