-
Notifications
You must be signed in to change notification settings - Fork 0
/
ft_strequ.c
20 lines (18 loc) · 1023 Bytes
/
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: lubaujar <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2014/11/10 00:53:34 by lubaujar #+# #+# */
/* Updated: 2014/11/10 01:21:56 by lubaujar ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
int ft_strequ(char const *s1, char const *s2)
{
if (s1 && s2)
return (!(ft_strcmp(s1, s2)));
return (0);
}