#include "../../libft.h" int is_charset(char c, char *set) { int i; i = 0; while (set[i]) { if (c == set[i]) return (1); i++; } return (0); } void free_tab(char **tab) { int i; i = 0; while (tab[i]) { free(tab[i]); i++; } free(tab); }