This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: A question on DIR


hjl@lucon.org (H.J. Lu) writes:

> VSX-PCT tests if DIR is a real type. It does
> 
> #undef DIR
> DIR var;
> 
> Is that required by POSIX?

No.  It is only specified that this type must be available and since
no operation beside those using the functions in dirent.h are defined
on them there is no need to have a real type definition.

-- 
---------------.      drepper at gnu.org  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com   `------------------------


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]