Bruno Haible wrote:
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

However, I then noticed that there's dirent as a module (and opendir is declared in dirent.h) so I bet I should import dirent module anyway, shouldn't I?

thanks in advance
        Lorenzo

--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
ICQ# lbetto, 16080134     (GNU/Linux User # 158233)
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
http://www.myspace.com/supertrouperabba
BLOGS: http://tronprog.blogspot.com  http://longlivemusic.blogspot.com
http://www.gnu.org/software/src-highlite
http://www.gnu.org/software/gengetopt
http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net



Reply via email to