musl/include/sys/sysmacros.h

9 lines
161 B
C
Raw Normal View History

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