![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Linux
qq_31127743
这个作者很懒,什么都没留下…
展开
-
linux vi 不支持中文
问题说明:网页HTML与CHI语言的结合,使用C语言输出HTML语句,因为其中用到中文,出现乱码问题解决:1. 在CGI中用到的代码使用utf-8编码,utf-8是国际统一的中文编码 具体语句为:fprintf(cgiOut,”meta charset=\"utf-8\">“); 参考文章:http://bbs.csdn.net/topics/390540114原创 2016-09-28 11:04:39 · 862 阅读 · 0 评论 -
tftp搭建
第一步: 安装tftp所需的软件(黑色加粗字体为linux命令,下同) 搭建TFTP服务所需要安装的软件有tftp-hpa,tftpd-hpa以及xinetd,其中: tftp-hpa : 是客户端软件; root# apt-get install tftp-hpa tftpd-hpa : 是服务程序;转载 2016-12-19 16:24:43 · 282 阅读 · 0 评论 -
PC端无法播放AVI视频
关键在于type="audio/x-pn-realaudio-plugin",type 属性规定被嵌入内容的 MIME 类型。原创 2016-12-19 19:28:14 · 430 阅读 · 0 评论 -
linux 杂记
1、线程三种退出方式:pthread_exit()、pthread_join()、pthread_cancel()pthread_cancel():需要设置取消点例程:void* func(void *) { pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, NULL); //允许退出线程 pthread_setcancel...原创 2018-09-10 10:03:56 · 128 阅读 · 0 评论