不要再对我说什么“纯软件”,每个行业都是一片天地,立足那个地方深深的挖掘下去,都会有甘甜的泉水冒出来。
做软件,做个真正的程序员。
你需要理解内核,即使你不可能把内核开发作为你的工作。
因此你现在的工作是深入内核。一步步的编译内核。
因为你的目标不是仅仅做个“天使”,你需要“上帝”的力量。
一步步编译linux kernel.
Wednesday, March 25, 2009
Tuesday, February 17, 2009
libc vs. glibc
[引用]
> Can anyone enlighten me on this: What is the difference between libc
> and glibc?
I'm sure half the people on this list can answer this :) - but here
goes.
Libc the C library that is used by basically every Linux/UNIX program to
talk to the kernel. Glibc is a version of Libc by the GNU project.
That doesn't really answer the question, though, because Linux
distributions used to come with 'libc5' and now they come with 'glibc2'
or 'libc6'. Glibc and libc6 refer to the same thing, and they are really
just a newer version of libc written by different people.
[/引用]
也就是说libc,libc6,glibc指的是同一个东西:POSIX,ISO C等函数库。而不是libc仅指ISO C函数库。
glibc-doc也就是libc6的文档。manpages-dev提供了man参考。
> Can anyone enlighten me on this: What is the difference between libc
> and glibc?
I'm sure half the people on this list can answer this :) - but here
goes.
Libc the C library that is used by basically every Linux/UNIX program to
talk to the kernel. Glibc is a version of Libc by the GNU project.
That doesn't really answer the question, though, because Linux
distributions used to come with 'libc5' and now they come with 'glibc2'
or 'libc6'. Glibc and libc6 refer to the same thing, and they are really
just a newer version of libc written by different people.
[/引用]
也就是说libc,libc6,glibc指的是同一个东西:POSIX,ISO C等函数库。而不是libc仅指ISO C函数库。
glibc-doc也就是libc6的文档。manpages-dev提供了man参考。
Thursday, February 12, 2009
荒唐的“文件结束符”
根本没有什么文件结束符。
如果有的话空文件不是还要占一个字节的结束符?
EOF是什么?它就是-1。它不过是C例程里的一个常量,当碰到文件结尾时,就返回-1。
问题的根本是你错误的认为磁盘的文件结尾还有一个字符专门表示文件的结束,呵呵,没有这个字符,你想啊,每读一个字符还要比较一下它是否等于“空想的文件结束符“,是不是太低效了点呢。那是如何判断文件是否已经结束的?中断、异常。
如果有的话空文件不是还要占一个字节的结束符?
EOF是什么?它就是-1。它不过是C例程里的一个常量,当碰到文件结尾时,就返回-1。
问题的根本是你错误的认为磁盘的文件结尾还有一个字符专门表示文件的结束,呵呵,没有这个字符,你想啊,每读一个字符还要比较一下它是否等于“空想的文件结束符“,是不是太低效了点呢。那是如何判断文件是否已经结束的?中断、异常。
Saturday, January 17, 2009
Friday, January 16, 2009
09年
想说点什么。
虚荣,懒惰,浮躁,狂妄,愚蠢。
什么是水啊。放在什么瓶子就什么形状。
你还有救么?
你有目标么?我说的是目标,不是你的幻想。你为你的幻想付出了多少实际行动?还是继续做你的白日梦吧。
你想谁能拯救你?谁是你的救世主?
你虚荣,到处装腔作势,卖弄玄虚。
你懒惰,我就想说你了。
自己想。
你就是一个社会底层的无所事事的混世魔王。
你有靠自己挣我一分钱吗?
你想怎么样?你打算怎么样?你还有没有骨气?
就看你做出个什么名堂。
虚荣,懒惰,浮躁,狂妄,愚蠢。
什么是水啊。放在什么瓶子就什么形状。
你还有救么?
你有目标么?我说的是目标,不是你的幻想。你为你的幻想付出了多少实际行动?还是继续做你的白日梦吧。
你想谁能拯救你?谁是你的救世主?
你虚荣,到处装腔作势,卖弄玄虚。
你懒惰,我就想说你了。
自己想。
你就是一个社会底层的无所事事的混世魔王。
你有靠自己挣我一分钱吗?
你想怎么样?你打算怎么样?你还有没有骨气?
就看你做出个什么名堂。
Subscribe to:
Posts (Atom)
