ft_strequ
This commit is contained in:
parent
10059afd98
commit
6bdeabf9c7
5
Makefile
5
Makefile
@ -6,7 +6,7 @@
|
||||
# By: tmaze <tmaze@student.42.fr> +#+ +:+ +#+ #
|
||||
# +#+#+#+#+#+ +#+ #
|
||||
# Created: 2018/04/07 12:47:06 by tmaze #+# #+# #
|
||||
# Updated: 2018/04/07 15:01:14 by tmaze ### ########.fr #
|
||||
# Updated: 2018/04/07 15:15:08 by tmaze ### ########.fr #
|
||||
# #
|
||||
#******************************************************************************#
|
||||
|
||||
@ -53,7 +53,8 @@ SRCS = \
|
||||
ft_striter.c \
|
||||
ft_striteri.c \
|
||||
ft_strmap.c \
|
||||
ft_strmapi.c
|
||||
ft_strmapi.c \
|
||||
ft_strequ.c
|
||||
OBJS = $(SRCS:.c=.o)
|
||||
INCLS = -I.
|
||||
|
||||
|
18
ft_strequ.c
Normal file
18
ft_strequ.c
Normal file
@ -0,0 +1,18 @@
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* ft_strequ.c :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: tmaze <tmaze@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2018/04/07 15:10:56 by tmaze #+# #+# */
|
||||
/* Updated: 2018/04/07 15:12:29 by tmaze ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#include "libft.h"
|
||||
|
||||
int ft_strequ(char const *s1, char const *s2)
|
||||
{
|
||||
return (ft_strcmp(s1, s2) == 0);
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user