[CFR] correct type of addrinfo.ai_addrlen and netent.n_net

Daniel Eischen deischen at freebsd.org
Tue May 31 11:05:38 PDT 2005

On Tue, 31 May 2005, Warner Losh wrote:
> >
> > What do we gain from removing the padding?  Is there even a single
> > practical benefit to doing so?
> It is for posix compatibility.
> http://lists.freebsd.org/pipermail/freebsd-standards/2005-May/000869.html
> is where to start for an explaination.

I don't think anyone doubts why it was changed, but POSIX does
not dictate any order or layout of the structure.  The padding
need not be removed just for compliance sake.  Unless we're missing


More information about the freebsd-standards mailing list