Training courses
Kernel and Embedded Linux
Bootlin training courses
1 2 3 4 5
// Header for PCH test cxx-offsetof-base.cpp struct Base { int x; }; struct Derived : Base { int y; }; int o = __builtin_offsetof(Derived, x);