BSD 4 release
[unix-history] / usr / src / cmd / lisp / h / types.h
CommitLineData
31cef89c
BJ
1/* sccs id @(#)types.h 34.1 10/3/80 */
2
18d1c3cd
JF
3typedef struct { int rrr[1]; } * physadr;
4typedef long daddr_t;
5typedef char * caddr_t;
6typedef unsigned short ino_t;
7typedef long time_t;
8typedef int label_t[10];
9typedef short dev_t;
10typedef long off_t;
31cef89c
BJ
11# ifdef UNIXTS
12typedef unisgned short ushort;
13# endif
18d1c3cd
JF
14/* major part of a device */
15#define major(x) (int)(((unsigned)x>>8)&0377)
16
17/* minor part of a device */
18#define minor(x) (int)(x&0377)
19
20/* make a device number */
21#define makedev(x,y) (dev_t)(((x)<<8) | (y))