linux系统ioctl使用示例[文].pdfVIP

  • 35
  • 0
  • 约8.54千字
  • 约 6页
  • 2021-10-17 发布于福建
  • 举报
linux 系统 ioctl 使用示例 These were writed and collected by kf701, you can use and modify them but NO W ARRANTY . Contact with me : kf_701@21 程序 1:检测接口的 inet_addr,netmask,broad_addr 程序 2:检查接口的物理连接是否正常 程序 3:更简单一点测试物理连接 程序 4:调节音量 *************************** 程序 1**************************************** #include stdio.h #include string.h #include stdlib.h #include errno.h #include unistd.h #include sys/types.h #include sys/socket.h #include netinet/in.h #include arpa/inet.h #include sys/ioctl.h #include net/if.h static void usag

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档