[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: opendir and dirent.h

From: Lorenzo Bettini
Subject: Re: opendir and dirent.h
Date: Sat, 18 Apr 2009 21:28:30 +0200
User-agent: Thunderbird (X11/20090409)

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.


[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 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
BLOGS: http://tronprog.blogspot.com  http://longlivemusic.blogspot.com
http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net

reply via email to

[Prev in Thread] Current Thread [Next in Thread]