# 2.11BSD#431 - /usr/include/struct.h

##### Macros

    fldoff            X
    fldsiz            X
    strbase           X

       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 6 times

- in /usr/src/ucb/lastcomm.c line 81, 89-93(4), 140

strbase defined in line 9; never used

#### Usage of this include

struct.h used 1 times

- in /usr/src/ucb/lastcomm.c line 26

Last modified: 1987-02-08 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 756 |