#ifndef FIELDOFFSET #define FIELDOFFSET(type,member) ( (size_t) &(((type*) 0)->member) ) #endif
应该是求得结构的某个成员的偏址,但看不太懂!谢谢指导!