Standard C Library Functions offsetof(3C)
NAME
offsetof - offset of structure member
SYNOPSIS
#include
size_t offsetof(type, member-designator);
DESCRIPTION
The offsetof() macro defined in
expands to an integral constant expression that has type size_t. The value
of this expression is the offset in bytes to the structuremember (designated by member-designator) from the beginning
of its structure (designated by type).ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| MT-Level | MT-Safe |
|_____________________________|_____________________________|
SEE ALSO
attributes(5)SunOS 5.11 Last change: 29 Dec 1996 1