![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
linux应用编程
JDSH0224
这个作者很懒,什么都没留下…
展开
-
linux应用程序编译过程分析
1. 源码#include <stdlib.h>int main(int argc, char *argv[]){ printf("hello world\n"); return 0;}2.预处理编译nuc972-arm-none-linux-gnueabi-gcc -v -E helloworld.c -o -helloworld.i#-v:输出预处理过程中的调试信息#-E:预处理编译参数Using built-in specs.COLLECT_GCC.原创 2020-12-08 14:48:43 · 346 阅读 · 0 评论 -
获取linux毫秒时钟滴答
https://blog.csdn.net/guang11cheng/article/details/6865992https://www.cnblogs.com/wangliangblog/p/9336276.html原创 2019-12-11 17:47:09 · 1588 阅读 · 0 评论 -
linux线程不安全函数
1. 线程不安全函数All functions defined by this volume of IEEEStd1003.1-2001 shall be thread-safe, except that the following functions1need not be thread-safe. asctime()basename()catgets()crypt()cti...原创 2019-08-19 14:16:15 · 735 阅读 · 1 评论 -
Linux通过控制台shell命令实现串口数据的收发
1. 控制台串口配置stty -F /dev/ttyUSB0 raw speed 9600 min 0 time 102. 控制台发送数据echo "hello world" > /dev/ttyUSB03. 控制台接收数据cat /dev/ttyUSB04. 用脚本循环接收数据stty -F /dev/ttyUSB0 raw speed 9600 min 0 ...原创 2019-09-07 11:35:31 · 12035 阅读 · 1 评论