上一页 1 ··· 34 35 36 37 38 39 40 41 42 ··· 124 下一页
摘要: 摘自:https://blog.csdn.net/liangdsing/article/details/53201410 uloop.c是libubox的一个小模块,简化了编程 1. socket 使用 #include "" struct uloop_fd ufd; //创建uloop_fd全局变 阅读全文
posted @ 2020-12-28 14:49 LiuYanYGZ 阅读(957) 评论(0) 推荐(0) 编辑
摘要: 摘自:https://my.oschina.net/u/1777349/blog/599651 摘自:https://blog.csdn.net/chengxing6375/article/details/100838511 libubox是openwrt新版本中的一个基础库,在openwrt.14 阅读全文
posted @ 2020-12-28 14:34 LiuYanYGZ 阅读(1342) 评论(0) 推荐(0) 编辑
摘要: 摘自:https://openwrt.org/docs/techref/libubox libubox It's one of the core libraries used within openwrt because it's a set of utilities, mostly wrapper 阅读全文
posted @ 2020-12-28 14:25 LiuYanYGZ 阅读(234) 评论(0) 推荐(0) 编辑
摘要: 摘自:https://segmentfault.com/a/1190000012086550 usock即是对网络套接字连接的简单封装。 类型标志: #define USOCK_TCP 0 #define USOCK_UDP 1 #define USOCK_SERVER 0x0100 #define 阅读全文
posted @ 2020-12-28 14:16 LiuYanYGZ 阅读(868) 评论(0) 推荐(0) 编辑
摘要: 摘自:https://www.cnblogs.com/laoxiaobaiup/p/9366880.html 1. libubox概述 libubox是openwrt新版本中的一个基础库,有很多应用是基于libubox开发的,如uhttpd,netifd,ubusd等。 libubox主要提供以下两 阅读全文
posted @ 2020-12-28 14:14 LiuYanYGZ 阅读(479) 评论(0) 推荐(0) 编辑
摘要: 摘自:https://www.cnblogs.com/ohmygirl/p/random.html 1. 基本介绍 /dev/random和/dev/urandom是Linux系统中提供的随机伪设备,这两个设备的任务,是提供永不为空的随机字节数据流。很多解密程序与安全应用程序(如SSH Keys,S 阅读全文
posted @ 2020-12-28 14:06 LiuYanYGZ 阅读(326) 评论(0) 推荐(0) 编辑
摘要: 摘自:https://blog.csdn.net/yhtoo/article/details/46943727 asprintf 第一个参数是指向指针的指针,它会在heap中自动申请空间(最后要手动free)。使用asprintf ,要加上 #define _GNU_SOURCE int aspri 阅读全文
posted @ 2020-12-28 13:47 LiuYanYGZ 阅读(443) 评论(0) 推荐(0) 编辑
摘要: 摘自:https://blog.csdn.net/huangxiaohu_coder/article/details/7475156 经常要写点Linux下命令行的测试程序,都需要对命令行参数做一些处理,以前都是自己来写参数的处理,不只每次写的都不一样,而且每次还浪费时间去做参数的判断,而且写出来的 阅读全文
posted @ 2020-12-28 11:12 LiuYanYGZ 阅读(241) 评论(0) 推荐(0) 编辑
摘要: 摘自:https://www.cnblogs.com/qingergege/p/5914218.html 更多请参考:https://blog.csdn.net/huangxiaohu_coder/article/details/7475156 最近在弄Linux C编程,本科的时候没好好学啊,希望 阅读全文
posted @ 2020-12-28 09:59 LiuYanYGZ 阅读(585) 评论(0) 推荐(0) 编辑
摘要: 摘自并整理:https://www.cnblogs.com/myblesh/p/6225665.html 声明:本文是对开源程序代码学习和研究,严禁用于商业目的。 如有任何问题,欢迎和我交流。(企鹅号:408797506) 本文所有笔记和代码可以到csdn下载:http://download.csd 阅读全文
posted @ 2020-12-27 22:02 LiuYanYGZ 阅读(1272) 评论(0) 推荐(0) 编辑
上一页 1 ··· 34 35 36 37 38 39 40 41 42 ··· 124 下一页