
linux
AndyCheng_hgcc
这个作者很懒,什么都没留下…
展开
-
option structure defined in <getopt.h>
option structure defined in <getopt.h>原创 2017-07-01 14:56:22 · 305 阅读 · 0 评论 -
linux 串口接收不到0x11, 0x0d, 0x13
linux 串口接收不到0x11, 0x0d, 0x13转载 2017-08-26 16:45:19 · 2795 阅读 · 3 评论 -
Ubuntu 14.04 安装 Sublime Text 3
Ubuntu 14.04 安装 Sublime Text 3转载 2017-08-21 13:18:32 · 345 阅读 · 0 评论 -
Linux信号机制之sigaction结构体浅析
Linux信号机制之sigaction结构体浅析转载 2017-08-14 14:11:35 · 332 阅读 · 0 评论 -
-lpthread option of gcc
-lpthread option of gcc原创 2017-07-28 14:23:08 · 231 阅读 · 0 评论 -
Linux系列:Ubuntu虚拟机设置固定IP上网(配置IP、网关、DNS、防止resolv.conf被重写)
http://www.cnblogs.com/lanxuezaipiao/p/3613497.htmlLinux系列:Ubuntu虚拟机设置固定IP上网(配置IP、网关、DNS、防止resolv.conf被重写)虚拟机里设置上网方式为NAT最方便,因为无需手动设置即可上网,但是NAT的上网方式默认是DHCP动态分配IP的,这意味着你每次重启虚拟机都 有不一样转载 2017-07-17 15:20:11 · 450 阅读 · 0 评论 -
uint32_t
我们都知道linux C开发中的常见扩展数据类型的定义有:uint8_t, uint16_t, uint32_t, uint64_t, size_t, ssize_t, off_t .... 他之所以要自己定义出数据类型是有道理的, 如: typdef unsigned int uint32_t; 表示uint32_t为32位无符号类型数据, 其实size_t也是32位无符号数据类型, 为什么不直接写"unsigned int"呢? 为了程序的可扩展性, 假如将来我们需要的数据大小变成了64bit时转载 2017-07-12 10:45:23 · 1460 阅读 · 0 评论 -
linux shell脚本中打开另一个终端并在新终端中执行shell脚本
https://blog.youkuaiyun.com/wutong_login/article/details/17767153gnome-terminal -t "title-name" -x bash -c "sh ./run.sh;exec bash;"-t 为打开终端的标题,便于区分。-x 后面的为要在打开的终端中执行的脚本,根据需要自己修改就行了。最后的exec bash;是让打开的终端...转载 2018-09-26 01:29:51 · 8497 阅读 · 0 评论