![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
LINUX/UNIX
jerry_lin3000
这个作者很懒,什么都没留下…
展开
-
About Segmentation Fault in Linux ( SIGSEGV )
<br />FROM:http://apps.hi.baidu.com/share/detail/14298506About Segmentation Fault in Linux ( SIGSEGV ) 刚拜读了一篇《Segmentation fault in linux.pdf》,下面是自己总结的一些内容:segmentation fault引发内核产生SIGSEGV信号;SIGSEGV是在访问内存时发生的错误,当用户态程序访问不允许访问内存,或者以错误的方式访问允许访问的内存时产生SIGSE转载 2011-02-24 19:49:00 · 1137 阅读 · 0 评论 -
add2line linux 调试工具
form:http://www.xxlinux.com/linux/article/accidence/technique/20070125/7209.html打败Linux系统中的Bug时间:2007-01-25 11:38:09 来源:Linux联盟收集整理 作者:调试zSeries上的Linux应用程转载 2012-01-17 10:45:51 · 7182 阅读 · 0 评论 -
Linux下tar命令详解
From : http://www.blogjava.net/kuangjianke/archive/2010/03/05/314626.htmlLinux下tar命令详解tar [-cxtzjvfpPN] 文件与目录 ....参数:-c :建立一个压缩文件的参数指令(create的意思)-x :解开一个压缩文件的参数指令-t :查看tarfile里面的文件转载 2011-10-21 10:00:46 · 516 阅读 · 0 评论 -
为 Linux 应用程序编写 DLL
From: http://www.ibm.com/developerworks/cn/linux/sdk/dll/index.html为 Linux 应用程序编写 DLL在仅仅只会编写插件的时候为什么要编写整个应用程序?Alle转载 2011-10-17 16:08:34 · 696 阅读 · 0 评论 -
Linux 动态库剖析
From : http://www.ibm.com/developerworks/cn/linux/l-dynamic-libraries/index.htmlLinux 动态库剖析进程与 APIM. Tim Jones,转载 2011-10-17 16:03:51 · 744 阅读 · 0 评论 -
linux中显示中文乱码的问题
from:http://blog.csdn.net/seuxiaoqi/article/details/5577195 linux中显示中文乱码的问题分类: linux2010-05-11 09:15 818人阅读转载 2011-08-05 10:33:55 · 2066 阅读 · 0 评论 -
Linux 动态库剖析
from:http://www.ibm.com/developerworks/cn/linux/l-dynamic-libraries/ Linux 动态库剖析进程与 APIM. Tim Jones, 顾问工程师, Emulex Corp. 简介: 动态链接的共享库是 GNU/Linux® 的一个重要方面。该种库允许可执行文件在运行时动态访问外部函数转载 2011-06-24 09:45:00 · 728 阅读 · 0 评论 -
Windows完成端口与Linux epoll技术简介
from: http://blog.csdn.net/teleinfor/archive/2010/01/24/5249934.aspx Windows完成端口与Linux epoll技术简介2009-09-16 09:13WINDOWS完成端口编程1、基本概念2、WINDOWS完成端口的特点3、完成端口(Completion Ports )相关数据结构和创转载 2011-06-10 05:03:00 · 661 阅读 · 0 评论 -
select 中的描述符被外部关闭时的情况
<br />最近在发现select(fd + 1, &readfd, &writefd, &expfd, NULL); 此时select已经进入等待状态, 然而 fd 被其他线程关闭时, select并不能及时发现,而依旧是处于等待中。<br /> <br />#include <stdio.h>#include <stdlib.h>#include <unistd.h>#include <errno.h>#include <string.h>#include <sys/types.h>原创 2011-02-22 12:29:00 · 721 阅读 · 0 评论 -
关于pthread_cond_signal与pthread_cond_broadcast的使用说明
<br /><br />from:http://hi.baidu.com/jrckkyy/blog/item/faff350129271cda267fb5f9.html<br /> <br />=============================================================<br />int pthread_create(<br /> pthread_t *tid,<br /> const pthread_at转载 2011-03-01 13:02:00 · 2932 阅读 · 3 评论 -
互斥量、条件变量与pthread_cond_wait()函数的使用
<br /><br />FROM:http://hi.baidu.com/wgmxlded/blog/item/12ad3443544fef1d73f05d28.html<br /> <br />1. pthread_cond_wait() 必须与pthread_mutex 配套使用。<br />pthread_cond_wait()函数一进入wait状态就会自动release mutex.<br />In Thread1:<br />pthread_mutex_lock(&m_mutex); <br转载 2011-03-01 00:33:00 · 848 阅读 · 0 评论 -
Linux获取当前时间
<br />FROM:http://weisjohn.blog.163.com/blog/static/3101525620079308298741/最近在查关于Linux下时间编程的问题: <br /> 1. Linux下与时间有关的结构体 <br /> struct timeval <br /> { <br /> int tv_sec; <br /> int tv_usec; <br /> }; <转载 2011-02-28 16:58:00 · 599 阅读 · 0 评论 -
在mount windows 文件,编译时 cc1plus: error: hello.cpp: Value too large for defined data type
最近用在虚拟机上用ubuntu 10.04 mount windows 的文件,在编译时却发现:root@ubuntu:~/project/hello# g++ -Wall hello.cpp -o hellocc1plus: error: hello.cpp: Value too large for defined data type而将hello.cpp 拷贝到ubuntu自己的文件目录中再编译,却正常通过。网上查了才知道,是因为mount方式时, 不知系统加载了什么,导致文件超过了2G,从而系统报错,原创 2011-02-27 10:04:00 · 2155 阅读 · 0 评论 -
SSH免密码登陆设置
生成SSH私钥、公钥键入ssh-keygen -t rsa, 直接三次回车, 如:将生成的公钥添加到目标机器的authorized_keyscat ~/.ssh/id_rsa.pub >> authorized_keys修改authorized_keys权限chmod 600 ~/.ssh/authorized_keys对目标机器进行一次访问,建立连原创 2013-04-09 00:00:23 · 1004 阅读 · 0 评论