Source Code for The Linux Programming Interface

The source code for the program examples in TLPI as well as the example code that I use in various conference presentations is provided in two versions:

If you want to browse individual C source files, see the online source code.

For an explanation of why there are two versions of the code, see Why are there two versions of the example programs?.

Please take a look at the README file and the BUILDING file for general information about the program source code and how to compile it.

If you encounter compilation problems, please read the source code FAQ.

For a summary of changes that have been made to the code since it was printed in the book, see the CHANGES file.

All of the source code is copyright Michael Kerrisk, and each file is licensed under the either GNU General Public License (Version 3) (most files) or the GNU Lesser General Public License (Version 3) (library code); see the individual files for details.