<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[wellhead的博客]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/wellhead</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; wellhead]]></copyright><item><title><![CDATA[监听器启动问题]]></title><link>https://blog.csdn.net/wellhead/article/details/4587653</link><guid>https://blog.csdn.net/wellhead/article/details/4587653</guid><author>wellhead</author><pubDate>Thu, 24 Sep 2009 11:05:00 +0800</pubDate><description><![CDATA[一早上班，启动一下测试用的oracle服务器监听器，出现下列错误：LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 14-AUG-2009 13:46:11 Copyright (c) 1991, 2005, Oracle.    All rights reserved. Starting /oracle/product/10.2.0/]]></description><category></category></item><item><title><![CDATA[经常使用的read & write]]></title><link>https://blog.csdn.net/wellhead/article/details/4565930</link><guid>https://blog.csdn.net/wellhead/article/details/4565930</guid><author>wellhead</author><pubDate>Fri, 18 Sep 2009 11:40:00 +0800</pubDate><description><![CDATA[一旦我们建立了连接,我们的下一步就是进行通信了.在Linux下面把我们前面建立的通道 看成是文件描述符,这样服务器端和客户端进行通信时候,只要往文件描述符里面读写东西了. 就象我们往文件读写一样.  1 写函数write   ssize_t write(int fd,const void *buf,size_t nbytes) write函数将buf中的nbytes字节内容写入文件描述符fd.成功]]></description><category></category></item><item><title><![CDATA[lightttpd的一个BUG]]></title><link>https://blog.csdn.net/wellhead/article/details/4553743</link><guid>https://blog.csdn.net/wellhead/article/details/4553743</guid><author>wellhead</author><pubDate>Tue, 15 Sep 2009 10:31:00 +0800</pubDate><description><![CDATA[static int fdevent_linux_sysepoll_event_get_revent(fdevents *ev, size_t ndx){     int events = 0, e;     e = ev->epoll_events[ndx].events;     if (e & EPOLLIN) events |= FDEVENT_IN;     if (e & EP]]></description><category></category></item><item><title><![CDATA[话说epoll]]></title><link>https://blog.csdn.net/wellhead/article/details/4533999</link><guid>https://blog.csdn.net/wellhead/article/details/4533999</guid><author>wellhead</author><pubDate>Wed, 09 Sep 2009 09:10:00 +0800</pubDate><description><![CDATA[1、相关的头文件: 2、epoll涉及到的数据结构 typedef union epoll_data {                 void *ptr;                 int fd;                 __uint32_t u32;                 __uint64_t u64;         } epoll_data_t;]]></description><category></category></item><item><title><![CDATA[linux 压缩 解压 命令大全 ]]></title><link>https://blog.csdn.net/wellhead/article/details/4532303</link><guid>https://blog.csdn.net/wellhead/article/details/4532303</guid><author>wellhead</author><pubDate>Tue, 08 Sep 2009 16:16:00 +0800</pubDate><description><![CDATA[大致总结了一下linux下各种格式的压缩包的压缩、解压方法。但是部分方法我没有用到，也就不全，希望大家帮我补充，我们将随时修改完善，谢谢！　　.tar　　解包： tar xvf FileName.tar　　打包：tar cvf FileName.tar DirName　　（注：tar是打包，不是压缩！）　　---------------------------------------------　]]></description><category></category></item><item><title><![CDATA[PROCESS STATE CODES]]></title><link>https://blog.csdn.net/wellhead/article/details/4515644</link><guid>https://blog.csdn.net/wellhead/article/details/4515644</guid><author>wellhead</author><pubDate>Thu, 03 Sep 2009 15:29:00 +0800</pubDate><description><![CDATA[Here are the different values that the s, stat and state output specifiers(header "STAT" or "S") will display to describe the state of a process.D    Uninterruptible sleep (usually IO)R    Running or ]]></description><category></category></item><item><title><![CDATA[有关套接口操作函数(经常忘掉里头一些细节,留着查看)]]></title><link>https://blog.csdn.net/wellhead/article/details/4512241</link><guid>https://blog.csdn.net/wellhead/article/details/4512241</guid><author>wellhead</author><pubDate>Wed, 02 Sep 2009 17:10:00 +0800</pubDate><description><![CDATA[13.2.2  socket函数socket函数的具体信息如表13.1所示。表13.1                                                           socket函数头文件函数形式int socket(int domain, int type, int protocol]]></description><category></category></item><item><title><![CDATA[epoll在ET模式下的一些注意事项]]></title><link>https://blog.csdn.net/wellhead/article/details/4511475</link><guid>https://blog.csdn.net/wellhead/article/details/4511475</guid><author>wellhead</author><pubDate>Wed, 02 Sep 2009 15:15:00 +0800</pubDate><description><![CDATA[man中给出了epoll的用法，example如下：       for(;;) {           nfds = epoll_wait(kdpfd, events, maxevents, -1);           for(n = 0; n                if(events[n].data.fd == listener) {                   client]]></description><category></category></item><item><title><![CDATA[程序的内存分配方式 for c/c++]]></title><link>https://blog.csdn.net/wellhead/article/details/4506180</link><guid>https://blog.csdn.net/wellhead/article/details/4506180</guid><author>wellhead</author><pubDate>Tue, 01 Sep 2009 10:47:00 +0800</pubDate><description><![CDATA[　　1.内存分配方式　　内存分配方式有三种：　　[1]从静态存储区域分配。内存在程序编译的时候就已经分配好，这块内存在程序的整个运行期间都存在。例如全局变量，static变量。　　[2]在栈上创建。在执行函数时，函数内局部变量的存储单元都可以在栈上创建，函数执行结束时这些存储单元自动被释放。栈内存分配运算内置于处理器的指令集中，效率很高，但是分配的内存容量有限。　　[3]从堆上分配]]></description><category></category></item><item><title><![CDATA[epoll为什么这么快 ]]></title><link>https://blog.csdn.net/wellhead/article/details/4491985</link><guid>https://blog.csdn.net/wellhead/article/details/4491985</guid><author>wellhead</author><pubDate>Fri, 28 Aug 2009 09:22:00 +0800</pubDate><description><![CDATA[epoll是多路复用IO(I/O Multiplexing)中的一种方式,但是仅用于linux2.6以上内核,在开始讨论这个问题之前,先来解释一下为什么需要多路复用IO.以一个生活中的例子来解释.假设你在大学中读书,要等待一个朋友来访,而这个朋友只知道你在A号楼,但是不知道你具体住在哪里,于是你们约好了在A号楼门口见面.如果你使用的阻塞IO模型来处理这个问题,那么你就只能一直守候在A号楼门口等待朋]]></description><category></category></item><item><title><![CDATA[C函数指针的偏门作用]]></title><link>https://blog.csdn.net/wellhead/article/details/4486688</link><guid>https://blog.csdn.net/wellhead/article/details/4486688</guid><author>wellhead</author><pubDate>Wed, 26 Aug 2009 14:41:00 +0800</pubDate><description><![CDATA[C语言的指针不仅可以指向数据域，也可以指向一个函数。很多C的初学者并不清楚这个特性，在看一些源代码的时候常常会觉得困惑。C的函数最常用的是提供函数Callback的能力，比如，C的”stdlib”中声明的qsort函数，用来对数值进行排序。显然，顺序还是降序，元素谁大谁小这些问题，库程序员在编写qsort的时候不可能决定。这些问题是要在用户调用这个函数的时候才能够决定。那边qsort如何保证通]]></description><category></category></item><item><title><![CDATA[理解复杂的C/C++声明 const, typedef , 函数指针]]></title><link>https://blog.csdn.net/wellhead/article/details/4484651</link><guid>https://blog.csdn.net/wellhead/article/details/4484651</guid><author>wellhead</author><pubDate>Tue, 25 Aug 2009 21:40:00 +0800</pubDate><description><![CDATA[理解复杂的C/C++声明 const, typedef , 函数指针转自：http://blog.csdn.net/realduke2000/archive/2007/10/05/1812127.aspx也亏他想得出来！估计实际应用中我也用不到这么多！让我们从一个非常简单的例子开始，如下： int n; 这个应该被理解为“declare n as an int”（n是一个int型的变量）。 接下去]]></description><category></category></item><item><title><![CDATA[业务用例和系统用例的区别]]></title><link>https://blog.csdn.net/wellhead/article/details/4296964</link><guid>https://blog.csdn.net/wellhead/article/details/4296964</guid><author>wellhead</author><pubDate>Thu, 25 Jun 2009 11:28:00 +0800</pubDate><description><![CDATA[问：业务用例和系统用例的区别是不是可以这样理解呢，如果把业务用例进行功能上的细分的话，分成若干个小的用例，那么这些小的用例是不是就是系统用例？ 就象维护人员档案，如果细分成添加档案，修改档案，删除档案，查看档案等等。。。 如果你的答案是肯定的话，那我是不是可以继续这样理解：一般情况下，业务用例实际上是在一个比较高的层面上来看业务逻辑，更接近于用户的直接需求，而系统用例则是业务逻辑的详细的划分，更接]]></description><category></category></item><item><title><![CDATA[需求分析阶段的工作（二）：用例描述和逻辑模型]]></title><link>https://blog.csdn.net/wellhead/article/details/4296950</link><guid>https://blog.csdn.net/wellhead/article/details/4296950</guid><author>wellhead</author><pubDate>Thu, 25 Jun 2009 11:25:00 +0800</pubDate><description><![CDATA[ 前文介绍了系统用例，在这一节中，我们将讨论的是用例描述 和逻辑模型 的工作。 从任何一个环节我们都会看到用例，但是仅仅依靠用例本身的图来描述用例是不够的，为什么呢？因为用例它所要描述的是一个场景，换句话说，就是用例是描述了某件详细的事情。如果作为一个场景的话必然要考虑这么几个问题： l          谁在这个场景中做事？ l          什么时候进入这个场景]]></description><category></category></item><item><title><![CDATA[需求分析阶段的工作（一）：业务用例和系统用例]]></title><link>https://blog.csdn.net/wellhead/article/details/4296936</link><guid>https://blog.csdn.net/wellhead/article/details/4296936</guid><author>wellhead</author><pubDate>Thu, 25 Jun 2009 11:21:00 +0800</pubDate><description><![CDATA[需求分析阶段的工作（一） 抛开前一篇文章谈的总体思路，我们今天来谈一下需求分析工作实质性的做些什么。在这里，我们，将主要关注于分析层面，也即 UML 中的用例模型和逻辑模型。 在这里要申明的是逻辑模型并不能完全算需求分析阶段的工作，因为它包含了设计模型的概念，但是我又把它归纳了一块到需求分析阶段，原因在于逻辑模型中存在了业务对象模型和分析模型的概念。 言归正传，先来看用]]></description><category></category></item><item><title><![CDATA[UML 中各种图形的重要性排行]]></title><link>https://blog.csdn.net/wellhead/article/details/4296615</link><guid>https://blog.csdn.net/wellhead/article/details/4296615</guid><author>wellhead</author><pubDate>Thu, 25 Jun 2009 10:04:00 +0800</pubDate><description><![CDATA[ UML 中包括有很多种图形。我最初学习 UML 是通过三友的《UML 用户指南》，这本书是一本很详尽的著作（另外一本更详尽的著作是三友的《UML 参考手册》），是 UML 领域最重要的著作之一，然而却不利于初学者掌握重点。因为时间有限，我没有能够读完用户指南的全书。对于一个形式主义者，很容易陷入大量 UML 的细节之中，使用昂贵的建模工具（ROSE、Together、PowerDesigner、]]></description><category></category></item></channel></rss>