Published 6 Years Agoa directory list Provided your program has sufficient access to the directory being read, readdir will list every file and directory contained in that directory.