#define offsetof(type, struct_name) (size_t)&(((struct type*)0)->struct_name) // 计算结构体成员相对结构体首地址的偏移度