This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
Re: A question on DIR
- To: hjl@lucon.org (H.J. Lu)
- Subject: Re: A question on DIR
- From: Ulrich Drepper <drepper@cygnus.com>
- Date: 22 Oct 1998 17:30:44 -0700
- Cc: libc-hacker@cygnus.com (GNU C Library)
- References: <m0zWUwa-0000V4C@sea.lucon.org>
- Reply-To: drepper@cygnus.com (Ulrich Drepper)
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 `------------------------