Why does the readdir (resource file) function appear after reading . and ..
Why does the readdir (resource file) function appear after reading . and ..
.
represents the current directory, ..
represents the upper-level directory, and there will be these two in every directory.
If you don’t believe me, open the command line, use the dir
command under windows, or use ls -al
to check under linux