Doxygen Documentation |
||||||
Package: |
PBI |
|||||
Version: |
V0-0-4 |
Marked: |
(not marked) |
|||
Constituent: |
doc_gather |
Tag: |
sun-gcc |
This graph shows which files directly or indirectly include this file:
Defines | |
#define | COUNT_OF(_array) (sizeof (_array) / sizeof (*(_array))) |
Returns a count of the number of elements in _array. | |
#define | OFFSET_OF(_structure, _member) ((unsigned int) &(((_structure *) 0) -> _member)) |
Returns the byte offset of _member within the named structure or typedef _structure. |
CVS $Id: Ofs.h,v 1.2 2004/02/17 01:30:08 russell Exp $
|
Returns a count of the number of elements in _array.
Bottom line is that COUNT_OF ALWAYS returns the correct number of the elements in an array whose size is known at compile time. |
|
Returns the byte offset of _member within the named structure or typedef _structure.
|