This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Is this an incorrect Qualcomm usage or a glibc bug?


On 09/04/2017 08:35 AM, honan li wrote:
> Florian, Thanks for your explanation, it makes sense.
> 
> But I still don't understand what is the (__ss_aligntype __ss_align) used for?

It's there to ensure appropriate alignment for struct sockaddr_storage,
so that it is sufficiently aligned to store any socket address.

Florian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]