> > /* > * The _DIRENT_NAMEOFF macro returns the offset of the d_name field in > * struct dirent > */ > #define _DIRENT_NAMEOFF(dp) \ > ((char *)(void *)&(dp)->d_name - (char *)(void *)dp) Why the parameter 'dp' to DIRENT_NAMEOFF? Why wouldn't it just boil down to a constant? ((struct dirent *)0) > > christos > >