Searched refs:num_dent (Results 1 – 1 of 1) sorted by relevance
726 size_t num_dent = 0; in scandir() local738 if (num_dent == temp_list_size) { in scandir()749 temp_list[num_dent] = (struct dirent*)malloc((dent->d_reclen + 3) & ~3); in scandir()750 memcpy(temp_list[num_dent], dent, dent->d_reclen); in scandir()751 num_dent++; in scandir()755 qsort(temp_list, num_dent, sizeof(struct dirent*), in scandir()765 while (num_dent > 0) { in scandir()766 free(temp_list[--num_dent]); in scandir()769 num_dent = -1; in scandir()772 return num_dent; in scandir()