1: /*	struct.h	4.1	83/05/03	*/
   2: 
   3: /*
   4:  * access to information relating to the fields of a structure
   5:  */
   6: 
   7: #define fldoff(str, fld)    ((int)&(((struct str *)0)->fld))
   8: #define fldsiz(str, fld)    (sizeof(((struct str *)0)->fld))
   9: #define strbase(str, ptr, fld)  ((struct str *)((char *)(ptr)-fldoff(str, fld)))

Defined macros

fldoff defined in line 7; used 1 times
  • in line 9
fldsiz defined in line 8; used 10 times
strbase defined in line 9; never used

Usage of this include

struct.h used 1 times
Last modified: 1985-06-19
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 841
Valid CSS Valid XHTML 1.0 Strict