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.
8 lines
189 B
8 lines
189 B
#ifndef _SYS_SYSMACROS_H
|
|
#define _SYS_SYSMACROS_H
|
|
|
|
#define major(x) ((unsigned)((x) >> 8) & 0xff)
|
|
#define minor(x) ((unsigned)(x) & 0xff)
|
|
#define makedev(x,y) (((x)<<8)|((y)&0xff))
|
|
|
|
#endif
|
|
|