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
dev_t
defined in line
16; used 1 times
ino_t
defined in line
13;
never used
off_t
defined in line
17;
never used
Defined macros
major
defined in line
22;
never used
minor
defined in line
25;
never used