Get number of files and directories in a directory (POSIX functions opendir, readdir, closedir)
impure function getNumberOfFiles extends Modelica.Icons.Function; input String directory "Directory name"; output Integer result "Number of files and directories present in 'directory'"; end getNumberOfFiles;