Source Code of the Programs in The Linux Programming Interface

The source code for the program examples in TLPI is provided in two versions:

For an explanation of why there are two versions of the code, look here.

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.

If you want to browse individual source files online, look here.

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