On Sun, Feb 18, 2007 at 11:27:58AM +0900, Nobuyoshi Nakada wrote:
> Hi,
> 
> At Sun, 18 Feb 2007 06:25:30 +0900,
> Bram Senders wrote in [ruby-core:10360]:
> > +    addrlen = (long) ((char *) &((struct sockaddr_un *) 0)->sun_path) +
> 
> Equivalent to offsetof()?

Yes, that was my intention... I didn't know about the existence of the
offsetof() function.

Bram Senders