|
4 years ago | |
---|---|---|
.. | ||
src | 3 years ago | |
Makefile | 3 years ago | |
README.md | 3 years ago |
Call the getdents64 function and list filenames of directory entries.
The program ls
asks the kernel the entries of the the current
working directory and prints them to standard output.
$ ls
The entries are listed in directory order and not sorted :). Note that "dot" files are not treated specially. There's a limit of 16 MiB for the directory structure length.