Query about <dirent.h>
John Sovereign
jms at Apple.COM
Fri Dec 1 05:01:02 AEST 1989
From: jms at Apple.COM (John Sovereign)
Since NAME_MAX is filesystem-dependent, NAME_MAX is probably a poor choice for
an implementation's definition of d_name, unless the implementation KNOWS that
it will only talk to filesystems which limit filenames to NAME_MAX.
In article <448 at longway.TIC.COM> dmr at research.att.com (Dennis Ritchie) writes:
>From: dmr at research.att.com (Dennis Ritchie)
>
>I don't have the POSIX wording at hand, but if it forbids
>`struct dirent d = *readdir(dp)' then it is flaky.
>
POSIX (and the "historical implementation" which introduced this) is flaky.
John Sovereign
jms at apple.com
Volume-Number: Volume 17, Number 77
More information about the Comp.std.unix
mailing list