42_C_PISCINE/Rush/Rush02/ex00/ft_dict_error.c
Camille Chauvet 29ed24d567 init
2023-05-17 16:45:25 +00:00

24 lines
1.0 KiB
C

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_dict_error.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: cchauvet <cchauvet@student.42angoulem +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/07/31 20:41:33 by cchauvet #+# #+# */
/* Updated: 2022/07/31 20:55:47 by cchauvet ### ########.fr */
/* */
/* ************************************************************************** */
#include "rush02.h"
int ft_dict_validator(char *path)
{
if (ft_dict_is_valid(path) == 0)
{
ft_putstr("Dict Error\n");
return (0);
}
return (1);
}