News for hackers. Stuff that matters.
Re:How Structs Really Work in C by javadyan on Sunday October 16, 2011 @02:56AM (#3116750)
Any decent C programmer should know this stuff.

Also,

> size_t offset = (size_t) &(((struct s*)0)->thing);

In what universe is that code "ugly"?

There are no comments on this comment yet.