
BIG ADD: - docker - archlinux FIX: - vim - c_cpp - string hash - linux /dev/random - thread - STL - linux - command - last OTHERS: - add antenna.md - mirrors - makefile.md
3 lines
139 B
C
3 lines
139 B
C
#define offsetof(type, struct_name) (size_t)&(((struct type*)0)->struct_name)
|
|
// 计算结构体成员相对结构体首地址的偏移度
|