Read names of a directory (POSIX functions opendir, readdir, closedir)
impure function readDirectory extends Modelica.Icons.Function; input String directory "Name of the directory from which information is desired"; input Integer nNames "Number of names that are returned (inquire with getNumberOfFiles)"; output String names[nNames] "All file and directory names in any order from the desired directory"; end readDirectory;