1. offsetof
#include <stddef.h>
size_t offsetof(type, member);
The macro offsetof() returns the offset of the field member from the start of the structure type.
时间: 2024-10-18 03:18:10
1. offsetof
#include <stddef.h>
size_t offsetof(type, member);
The macro offsetof() returns the offset of the field member from the start of the structure type.