摘要: ioctl 函数 本函数影响由fd 参数引用的一个打开的文件。 #include<unistd.h> int ioctl( int fd, int request, .../* void *arg */ ); 返回0 :成功 -1 :出错 第三个参数总是一个指针,但指针的类型依赖于request 参 阅读全文
posted @ 2018-08-21 15:55 zxiaocheng 阅读(16112) 评论(0) 推荐(1) 编辑