linux
BHduke
这个作者很懒,什么都没留下…
展开
-
nterface_to_usbdev宏
interface_to_usbdev() -- 根据usb_interface指针intf获取usb_device的地址。 interface_to_usbdev() -- 获取usb接口对应的usb设备,usb接口对应的usb设备是该接口的父亲。 #define interface_to_usbdev(intf) \ container_of(intf->dev.pare原创 2012-10-25 15:29:15 · 825 阅读 · 0 评论 -
container_of宏
/** * container_of - cast a member of a structure out to the containing structure * @ptr: the pointer to the member. * @type: the type of the container struct this is embedded in. * @membe原创 2012-10-25 14:09:33 · 473 阅读 · 0 评论 -
ubuntu10.04 无线上网
使用wpa_passphrase [ SSID ] [ WPA_KEY ]命令生成密码的加密形式 输出: network={ ssid="SSID" #psk="WPA_KEY" psk=WPA_PASSPHRASE_KEY } 修改/etc/network/interface文件 auto xxxx iface xxxx inet dhc原创 2013-05-31 16:53:25 · 865 阅读 · 0 评论 -
Bash Shell快捷键 gnome-terminal快捷键
gnome-terminal 快捷键 CTRL k:删除从光标到行尾的部分 CTRL u:删除从光标到行首的部分 ALT d:删除从光标到当前单词结尾的部分 CTRL w:删除从光标到当前单词开头的部分 CTRL a:将光标移到行首 CTRL e:将光标移到行尾转载 2013-10-19 17:55:03 · 1394 阅读 · 0 评论