You can use
offsetof to measure the location within a structure
type of a particular structure member.
offsetof (struct s, elem)is the offset, in bytes, of the member
This macro won't work if member is a bit field; you get an error from the C compiler in that case.
Go to the first, previous, next, last section, table of contents.