XenevaOS
Loading...
Searching...
No Matches
Macros
kdev_t.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MAJOR(dev)   ((dev)>>8)
 
#define MINOR(dev)   ((dev) & 0xff)
 
#define MKDEV(ma, mi)   ((ma)<<8 | (mi))
 

Macro Definition Documentation

◆ MAJOR

#define MAJOR (   dev)    ((dev)>>8)

◆ MINOR

#define MINOR (   dev)    ((dev) & 0xff)

◆ MKDEV

#define MKDEV (   ma,
  mi 
)    ((ma)<<8 | (mi))