summaryrefslogtreecommitdiff
path: root/userland/libc/dirent/scandir.c
AgeCommit message (Collapse)Author
2024-10-02libc: Add faster scandir function(scandir_sane).Anton Kling
This function is significantly faster due to not requiring memory allocations for each directory entry. Now they are instead just allocated as a large chunk. This function is not compatible with scandir since the cleanup of both function will be different. With this a new function scandir_sane_free has also been added. Besides having a function(like scandir) that forces the programmer to implement their own cleanup procedure that is anymore complicated than a simple free() call is absurd.
2024-04-11bug fixesAnton Kling
2023-11-16LibC: Add error checking to scandirAnton Kling
2023-10-22Move everything into a new repo.Anton Kling