- 博客(5)
- 资源 (1)
- 收藏
- 关注
原创 linux外部信号处理函数,以释放缓存资源等
1、main函数中添加如下行: signal(SIGINT, signal_handler); signal(SIGTERM, signal_handler); signal(SIGQUIT, signal_handler); signal(SIGHUP, signal_handler); 2、创建处理函数 void signal_handler(int...
2019-05-28 15:51:56 442 1
原创 交叉编译libusb
1、参考 http://blog.chinaunix.net/uid-30034921-id-4714674.html https://blog.csdn.net/xfc_1939/article/details/53422071 https://blog.csdn.net/weixin_41466668/article/details/78954237 https://blog.csdn...
2019-05-23 14:12:24 724
原创 交叉编译busybox
转载: https://www.linuxidc.com/Linux/2011-12/49878p2.htm https://blog.csdn.net/qianshuyuankk/article/details/84848756 步骤: 1、获取源码:https://www.linuxidc.com/Linux/2011-08/40704.htm 2、tar jvxf busybox-...
2019-05-14 20:11:08 250
原创 交叉编译lrzsz
参考: https://blog.csdn.net/linucos/article/details/5582979 https://blog.csdn.net/wangzhen209/article/details/32713715 https://blog.csdn.net/zijie_xiao/article/details/50934279 步骤: 获取源码:https://www...
2019-05-14 19:52:45 985
原创 linux系统下定时器,延时函数
1、定时器代码 drvTimer.c #include <stdio.h> #include <string.h> #include <stdlib.h> #include <signal.h> #include <sys/time.h> #include <unistd.h> #include "drvTimer.h...
2019-05-10 09:09:21 340
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人