最終更新:2013-01-06 (日) 06:38:57 (2824d)  

dev_t
Top / dev_t

typedef __kernel_dev_t          dev_t;
typedef __u32 __kernel_dev_t;
#define MAJOR(dev)      ((unsigned int) ((dev) >> MINORBITS))
#define MINOR(dev)      ((unsigned int) ((dev) & MINORMASK))

dev_tに変換

  • MKDEV(int major, int minor);

関連