会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
jhson
博客园
首页
新随笔
联系
订阅
管理
2018年5月28日
Linux下automake的简单用法
摘要: 1. autoscan扫描当前目录生成configure.scan 2. 将configure.scan改名为configure.ac 3. 编辑configure.ac 4. aclocal生成aclocal.m4 5. autoconf生成configure 6. autoheader生成con
阅读全文
posted @ 2018-05-28 17:51 jhson
阅读(552)
评论(0)
推荐(0)
2018年5月25日
使用popen执行shell命令并获取返回结果
摘要: popen() 函数通过创建一个管道,调用 fork 产生一个子进程,执行一个 shell 以运行命令来开启一个进程。这个进程必须由 pclose() 函数关闭,而不是 fclose() 函数。pclose() 函数关闭标准 I/O 流,等待命令执行结束,然后返回 shell 的终止状态。如果 sh
阅读全文
posted @ 2018-05-25 16:27 jhson
阅读(13447)
评论(0)
推荐(1)
hexdump的C语言实现
摘要: 1 void hexdump(char *buf, int len) 2 { 3 int i = 0; 4 5 printf("\n----------------------hexdump------------------------\n"); 6 for(i = 0; i < len; i++) { 7 printf("%02x ...
阅读全文
posted @ 2018-05-25 16:18 jhson
阅读(2019)
评论(0)
推荐(0)
C语言对字符串的一些操作
摘要: 1. 字符串中移除一个字符 2. 字符串转为16进制整数
阅读全文
posted @ 2018-05-25 16:16 jhson
阅读(222)
评论(0)
推荐(0)
2015年3月24日
git的一些操作
摘要: 一、git常用命令1. git remote -v 查看远程路径2. git log --stat 显示最近修改了哪些文件3. tag 打tag git tag -a tagname -m "commit" 推送tag到服务器 git push origi...
阅读全文
posted @ 2015-03-24 20:38 jhson
阅读(299)
评论(0)
推荐(0)
2014年1月7日
Android的Airplay移植
摘要: 1. dbus daemon2. avahi daemon3. airtunes server4. pcm音频数据的播放5. 编译
阅读全文
posted @ 2014-01-07 17:36 jhson
阅读(423)
评论(0)
推荐(0)
公告