Lorenzo Bettini wrote: > I saw that mkdir is a module in gnulib, while opendir (defined in > dirent.h) is not; thus opendir is assumed as standard?
Yes. You can see in the gnulib documentation [1] that no portability problems are known for opendir(). This is because the only native Windows port that we consider is mingw, and mingw has an opendir() implementation among its runtime libraries. Bruno [1] http://www.gnu.org/software/gnulib/manual/html_node/opendir.html