mirror of https://git.musl-libc.org/git/musl
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
7 lines
205 B
7 lines
205 B
#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)
|
|
|