On Thu, Feb 07, 2013 at 03:43:51PM +0100, Laszlo Ersek wrote:
> #define endof(container, field) \
>     (offsetof(container, field) + sizeof ((container *)0)->field)

Indeed, this looks cleaner.

Reply via email to