#include int *ft_range(int min, int max) { int value; int *result; int size; int i; size = max - min; if (size <= 0) return (NULL); result = malloc(sizeof(int) * size); if (result != NULL) { value = min; i = 0; while (i < size) result[i++] = value++; } return (result); }