readdir

readdir -- ディレクトリ・ハンドルからのエントリ読み込み

説明

string readdir(int dir_handle);

ディレクトリから次のファイルのファイル名を返します。ファイル名は 特定の順序で返されるわけではありません。