01 2022 档案
摘要:串口日志保留进文件中 sample: #include <stdio.h> #include <stdlib.h> #include <string.h> int main(int argc, char **argv) { static FILE *pFile = NULL; char *acBuf
阅读全文
摘要:#include <stdio.h> #include <string.h> #include <sys/time.h> #include <unistd.h> int main(int argc, char **argv) { struct timeval dwStart; struct time
阅读全文
摘要:前言 在一个架构为i686的机器上发现vim按方向键总是输出ABCD 百度发现是安装版本不对,默认tiny版都有这个问题,于是卸载,重新安装,没有网络只能源码编译安装 1. 网上获取源码 地址: https://github.com/vim/vim.git 2. 配置(可忽略) ./configur
阅读全文