usb-mn-ioctls.h

来自「Six objects here: The document you re 」· C头文件 代码 · 共 16 行

H
16
字号
/* This file contains all I/O ConTroL commands definition. * * Defined as a sigle file because it should be SHARED with * usr spacs program. *//* use 0x25 as magic-number. I haveNOT registered it, using it with carefully! */#define MN_IOC_MAGIC 0x25/* _IOW (or IOR/IOWR) was defined as the view of usr. * _IOW means write argument from USR to KERNEL. * But in fact kernel read our command from usr-space. */#define MN_LEDon _IOR (MN_IOC_MAGIC,0,__u16)#define MN_LEDoff _IOW (MN_IOC_MAGIC,1,__u16)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?