Subject: RE: 64 bit inode changes
To: Christos Zoulas <tech-kern@netbsd.org>
From: Gordon Waidhofer <gww@traakan.com>
List: tech-kern
Date: 08/16/2005 11:34:12
> 
> /* 
>  * 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
> 
>