offsetof(3C) offsetof(3C)
NAME
offsetof - offset of structure member
SYNOPSIS
#include <stddef.h>
sizet offsetof(type, member-designator);
DESCRIPTION
offsetof() is a macro defined in stddef.h which expands to an integral
constant expression that has type sizet, the value of which is the
offset in bytes, to the structure member (designated by memberdesigna-
tor), from the beginning of its structure (designated by type).
Page 1 Reliant UNIX 5.44 Printed 11/98