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; never used
strbase defined in line 9; never used
Last modified: 1983-05-03
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 558
Valid CSS Valid XHTML 1.0 Strict