M
Michael B Allen
Can offsetof be used to determine the offset of a member within an
embedded struct member?
For example, let 'struct foo' be a structure with an embedded structure
'struct bar' which has a member 'mem'. Can one do:
offsetof(struct foo, bar.mem)
Thanks,
Mike
embedded struct member?
For example, let 'struct foo' be a structure with an embedded structure
'struct bar' which has a member 'mem'. Can one do:
offsetof(struct foo, bar.mem)
Thanks,
Mike