首页 > 代码库 > 有用C函数集锦

有用C函数集锦

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.

有用C函数集锦