Query: offsetof
OS: opensolaris
Section: 3c
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
offsetof(3C) Standard C Library Functions offsetof(3C)NAMEoffsetof - offset of structure memberSYNOPSIS#include <stddef.h> size_t offsetof(type, member-designator);DESCRIPTIONThe offsetof() macro defined in <stddef.h> expands to an integral constant expression that has type size_t. The value of this expression is the offset in bytes to the structure member (designated by member-designator) from the beginning of its structure (designated by type).ATTRIBUTESSee attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+SEE ALSOattributes(5) SunOS 5.11 29 Dec 1996 offsetof(3C)
Related Man Pages |
---|
offsetof(3) - suse |
offsetof(3) - opendarwin |
offsetof(3) - v7 |
offsetof(3) - x11r4 |
offsetof(3) - xfree86 |
Similar Topics in the Unix Linux Community |
---|
Address Alignment rules for structure variables |
Array alignment on HPUX |
calling pthread_self (on ubuntu), expensive? |