Where Online Learning is simpler!
The C and C++ Include Header Files
/usr/include/linux/kdev_t.h
$ cat -n /usr/include/linux/kdev_t.h 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 2 #ifndef _LINUX_KDEV_T_H 3 #define _LINUX_KDEV_T_H 4 5 /* 6 Some programs want their definitions of MAJOR and MINOR and MKDEV 7 from the kernel sources. These must be the externally visible ones. 8 */ 9 #define MAJOR(dev) ((dev)>>8) 10 #define MINOR(dev) ((dev) & 0xff) 11 #define MKDEV(ma,mi) ((ma)<<8 | (mi)) 12 #endif /* _LINUX_KDEV_T_H */
Contact us
|
About us
|
Term of use
|
Copyright © 2000-2025 MyWebUniversity.com ™