accounting for files "." and ".."

This commit is contained in:
nova
2025-07-08 00:43:19 +02:00
parent b77c9a2a29
commit bc6fb162c5
3 changed files with 14 additions and 9 deletions

View File

@@ -6,6 +6,8 @@
#include "sorting.c"
#endif
int skip_hidden_files(const struct dirent *entry);
int skip_dot(const struct dirent *entry);
void sort_dir(unsigned long *dir_length_width, char *dir_content);
void sort_dir(unsigned long *dir_length_width, char *dir_content);
int sort_natural(const void *file0, const void *file1);