musl/include/sys/sysmacros.h

9 lines
189 B
C
Raw Normal View History

#ifndef _SYS_SYSMACROS_H
#define _SYS_SYSMACROS_H
2011-02-12 05:22:29 +00:00
#define major(x) ((unsigned)((x) >> 8) & 0xff)
#define minor(x) ((unsigned)(x) & 0xff)
#define makedev(x,y) (((x)<<8)|((y)&0xff))
2011-02-12 05:22:29 +00:00
#endif