#include #include #include #include int ft_get_map(int fd, t_win *wlist) { size_t i; char *line; ft_free_words(wlist->clist->map, NULL); i = 0; if (!(wlist->clist->map = (char**)malloc(40 * sizeof(char*)))) return (-1); while (get_next_line(fd, &line) > 0) { } return (0); }