1: /*					-[Sat Jan 29 14:01:58 1983 by jkf]-
   2:  * 	types.h				$Locker:  $
   3:  * Unix standard type definitions
   4:  *
   5:  * $Header: /na/franz/franz/h/types.h,v 1.1 83/01/29 14:07:57 jkf Exp $
   6:  *
   7:  * (c) copyright 1982, Regents of the University of California
   8:  */
   9: 
  10: typedef struct { int rrr[1]; } *    physadr;
  11: typedef long        daddr_t;
  12: typedef char *      caddr_t;
  13: typedef unsigned short  ino_t;
  14: typedef long        time_t;
  15: typedef int     label_t[10];
  16: typedef short       dev_t;
  17: typedef long        off_t;
  18: # ifdef UNIXTS
  19: typedef unsigned short ushort;
  20: # endif
  21: /* major part of a device */
  22: #define major(x)    (int)(((unsigned)x>>8)&0377)
  23: 
  24: /* minor part of a device */
  25: #define minor(x)    (int)(x&0377)
  26: 
  27: /* make a device number */
  28: #define makedev(x,y)    (dev_t)(((x)<<8) | (y))

Defined typedef's

caddr_t defined in line 12; never used
daddr_t defined in line 11; never used
dev_t defined in line 16; used 1 times
  • in line 28
ino_t defined in line 13; never used
label_t defined in line 15; never used
off_t defined in line 17; never used
time_t defined in line 14; never used
ushort defined in line 19; never used

Defined macros

major defined in line 22; never used
makedev defined in line 28; never used
minor defined in line 25; never used
Last modified: 1985-08-14
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 598
Valid CSS Valid XHTML 1.0 Strict