mirror of
git://git.musl-libc.org/musl
synced 2024-12-24 07:32:49 +00:00
8 lines
205 B
C
8 lines
205 B
C
#define major(x) (((x) >> 8) & 0xff)
|
|
#define minor(x) ((x) & 0xff)
|
|
#define makedev(x,y) (((x)<<8)|((y)&0xff))
|
|
|
|
//#define makedev(x,y) \
|
|
// ((x)*0x100000001ULL)&(0xfffffffffff0)
|
|
// ((y)*0x1001 & 0xffff0ff)
|