上一页 1 ··· 372 373 374 375 376 377 378 379 380 ··· 619 下一页

2021年1月3日

摘要: #include <string.h> #include <stdarg.h> #include <stdio.h> #include <limits.h> #include <stdio.h> #define CONFIG_DIR "/etc/usbs/" #ifndef BEGIN_INTERF 阅读全文
posted @ 2021-01-03 16:21 lydstory 阅读(224) 评论(0) 推荐(0)

2021年1月2日

摘要: #include <string.h> #include <stdarg.h> #include <stdio.h> #include <limits.h> #include <stdio.h> #define CONFIG_DIR "/etc/usbs/" struct macro { const 阅读全文
posted @ 2021-01-02 17:07 lydstory 阅读(405) 评论(0) 推荐(0)
摘要: #include <string.h> #include <stdarg.h> #include <stdio.h> #include <limits.h> #include <stdio.h> #define CONFIG_DIR "/etc/usbs/" struct macro { const 阅读全文
posted @ 2021-01-02 17:01 lydstory 阅读(61) 评论(0) 推荐(0)
摘要: 在计算机中,ioctl(input/output control)是一个专用于设备输入输出操作的系统调用,该调用传入一个跟设备有关的请求码,系统调用的功能完全取决于请求码。举个例子,CD-ROM驱动程序可以弹出光驱,它就提供了一个对应的Ioctl请求码 阅读全文
posted @ 2021-01-02 16:47 lydstory 阅读(739) 评论(0) 推荐(0)
摘要: TAILQ是FreeBSD/linux内核对双向队列操作的一种抽象,抽象程度不亚于C++,能实现操作队列需要的各种操作:插入元素,删除元素,遍历队列等 阅读全文
posted @ 2021-01-02 01:24 lydstory 阅读(98) 评论(0) 推荐(0)
摘要: /proc/mounts /dev/bus/usb 阅读全文
posted @ 2021-01-02 01:20 lydstory 阅读(56) 评论(0) 推荐(0)
摘要: strchr函数功能为在一个串中查找给定字符的第一个匹配之处。函数原型为:char *strchr(const char *str, int c),即在参数 str 所指向的字符串中搜索第一次出现字符 c(一个无符号字符)的位置。strchr函数包含在C 标准库 中 #include <string 阅读全文
posted @ 2021-01-02 01:14 lydstory 阅读(78) 评论(0) 推荐(0)
摘要: #include <string.h> #include <stdarg.h> #include <stdio.h> #include <limits.h> #include <stdio.h> #define CONFIG_DIR "/etc/usbs/" int main() { char fn 阅读全文
posted @ 2021-01-02 00:51 lydstory 阅读(151) 评论(0) 推荐(0)
摘要: #include <string.h> #include <stdarg.h> #include <stdio.h> #include <limits.h> #include <stdio.h> #define CONFIG_DIR "/etc/usbs/" int main() { FILE *f 阅读全文
posted @ 2021-01-02 00:32 lydstory 阅读(89) 评论(0) 推荐(0)

2021年1月1日

摘要: #include <stdlib.h> #include <stdio.h> #include <string.h> #include <errno.h> #include <unistd.h> #include <pthread.h> #include <fcntl.h> #include <st 阅读全文
posted @ 2021-01-01 12:40 lydstory 阅读(746) 评论(0) 推荐(0)
上一页 1 ··· 372 373 374 375 376 377 378 379 380 ··· 619 下一页

导航