Commit | Line | Data |
---|---|---|
f09a3c06 KT |
1 | typedef long daddr_t; /* disk address */ |
2 | typedef char * caddr_t; /* core address */ | |
3 | typedef unsigned int ino_t; /* i-node number */ | |
4 | typedef long time_t; /* a time */ | |
5 | typedef int label_t[6]; /* program status */ | |
6 | typedef int dev_t; /* device code */ | |
7 | typedef long off_t; /* offset in file */ | |
8 | /* selectors and constructor for device code */ | |
9 | #define major(x) (int)(((unsigned)x>>8)) | |
10 | #define minor(x) (int)(x&0377) | |
11 | #define makedev(x,y) (dev_t)((x)<<8|(y)) |