tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: in which we present an ugly hack to make sys/queue.h CIRCLEQ work



On Sat, Nov 23, 2013 at 12:59:04AM -0500, Mouse wrote:
>
> To be type-correct, the various structs sockaddr_* really need to be a
> single discriminated union...and I'm not sure sockaddr_un can ever be
> done type-correctly; I'd have to think about it more.)

GCC's transparent unions are really nice for this.

Thor


Home | Main Index | Thread Index | Old Index