Buy the book!
|[ < ]||[ > ]||[ << ]||[ Up ]||[ >> ]||[Top]||[Contents]||[Index]||[ ? ]|
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.
|webmaster||delorie software privacy|
|Copyright © 2003 by The Free Software Foundation||Updated Jun 2003|