/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_atonbr.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: nlauvray = '0' && str[i] <= '9') i++; str_out = malloc(sizeof(*str) * (i + 1)); i = 0; while (str[i] >= '0' && str[i] <= '9') { str_out[i] = str[i]; i++; } str_out[i] = '\0'; return (str_out); }