-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathft_exact_strcmp.c
More file actions
20 lines (18 loc) · 1.02 KB
/
Copy pathft_exact_strcmp.c
File metadata and controls
20 lines (18 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_exact_strcmp.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: mmasarov <mmasarov@student.42vienna.com +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/07/04 17:30:51 by mmasarov #+# #+# */
/* Updated: 2024/07/17 16:12:52 by mmasarov ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
int ft_exact_strcmp(const char *s1, const char *s2)
{
if (ft_strlen(s1) != ft_strlen(s2))
return (1);
return (ft_strcmp(s1, s2));
}