Searched refs:temp_list (Results 1 – 1 of 1) sorted by relevance
748 struct dirent **temp_list = NULL; in scandir() local765 temp_list, new_list_size * sizeof(struct dirent*)); in scandir()770 temp_list = new_list; in scandir()773 temp_list[num_dent] = (struct dirent*)malloc((dent->d_reclen + 3) & ~3); in scandir()774 if (!temp_list[num_dent]) in scandir()776 memcpy(temp_list[num_dent], dent, dent->d_reclen); in scandir()781 qsort(temp_list, num_dent, sizeof(struct dirent*), in scandir()786 *name_list = temp_list; in scandir()787 temp_list = NULL; in scandir()790 if (temp_list != NULL) { in scandir()[all …]