C语言中offsetof宏的应用
offsetof : Retrieves the offset of a member from the beginning of its parent structure.size_t offsetof(structName, memberName);Parameters: structName : Name of the parent data structure.