On Fri, 19 Feb 1999, Nassar Carnegie wrote:

> Im new to learning C and right now reading how the kernel function on its
> internals and networking code. Is there an updated version of Linux
> Programmers Documentation, or a new KHG. Some of the text ive seen is
> outdated and since Linux moved from libc to glibc, will the same reference
> be good as well?.. I have not looked this up yet

The Linux kernel is not dependant on or use user libraries, 
so it does not matter. 

I would not recommend using the Linux kernel source as an example
of C programming. Not only is it complex and hard going in many 
parts, but it also uses some GNU C extensions which are not apart 
of the ISO/ANSI C standard. 

The Linux kernel uses voodoo in some places because the developers
know how the compiler will do things. Using such as examples of C 
programming is a very bad idea, this may lead to certain incorrect
assumptions about C based on the behaviour of the GNU compilers.

I seriously suggest avoiding the Linux kernel source until you are 
well versed in ANSI C and the system API.

PS. 
You will also be able to make more sense of "Kernel Hackers Guide" and
"The Linux Kernel" if you have already read a good book or two on
operating system internals.  Modern Operating Systems, by A.S Tanenbaum
and Operating System Concepts by Silberschatz & Galvin are good
introductions.



Reply via email to