BSD 3 development
[unix-history] / usr / src / cmd / lisp / types.h
CommitLineData
18d1c3cd
JF
1typedef struct { int rrr[1]; } * physadr;
2typedef long daddr_t;
3typedef char * caddr_t;
4typedef unsigned short ino_t;
5typedef long time_t;
6typedef int label_t[10];
7typedef short dev_t;
8typedef long off_t;
9/* major part of a device */
10#define major(x) (int)(((unsigned)x>>8)&0377)
11
12/* minor part of a device */
13#define minor(x) (int)(x&0377)
14
15/* make a device number */
16#define makedev(x,y) (dev_t)(((x)<<8) | (y))