1: typedef char        bool_t;     /* Boolean */
   2: typedef char *      caddr_t;    /* virtual core address */
   3: typedef unsigned short  comp_t;     /* "floating pt": 3 bits base 8 exp, 13 bits fraction */
   4: typedef long        daddr_t;    /* disk address */
   5: typedef short           dev_t;      /* device code */
   6: typedef unsigned short  ino_t;      /* i-node number */
   7: #ifdef  MENLO_KOV
   8: typedef short       label_t[7]; /* regs 2-7 and __ovno */
   9: #else
  10: typedef short           label_t[6];     /* program status */
  11: #endif
  12: typedef unsigned    memaddr;    /* core or swap address */
  13: typedef long        off_t;      /* offset in file */
  14: typedef struct {short r[1];}*   physadr;
  15: typedef unsigned    size_t;     /* size of process segments */
  16: typedef long        time_t;     /* a time */
  17: typedef long        ubadr_t;    /* UNIBUS address */
  18: typedef unsigned short  u_short;
  19: typedef short       void;       /* Embarassing crock for Ritchie C compiler */
  20: #ifdef  UCB_NET
  21: typedef unsigned short  u_int;
  22: typedef long        u_long;     /* watch out! */
  23: typedef char        u_char;     /* watch out! */
  24: typedef struct  fd_set { long fds_bits[1]; } fd_set;
  25: #endif
  26: 
  27:     /* selectors and constructor for device code */
  28: #define major(x)    (short)(((unsigned)(x)>>8))
  29: #define minor(x)    (short)((x)&0377)
  30: #define makedev(x,y)    (dev_t)((x)<<8|(y))

Defined struct's

fd_set defined in line 24; never used

Defined typedef's

caddr_t defined in line 2; used 441 times
comp_t defined in line 3; used 1 times
daddr_t defined in line 4; used 414 times
dev_t defined in line 5; used 207 times
fd_set defined in line 24; used 8 times
label_t defined in line 8; used 6 times
off_t defined in line 13; used 188 times
time_t defined in line 16; used 216 times
u_char defined in line 23; used 1 times
u_int defined in line 21; never used

Defined macros

minor defined in line 29; used 182 times

Usage of this include

types.h used 196 times
Last modified: 1983-06-08
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 1256
Valid CSS Valid XHTML 1.0 Strict