Text of man7.org › tlpi › code as Styx crawled it on Nov 18, 2026. The page may have changed since. Only its words are kept, without pictures or layout.

Open the live page

Source code for "The Linux Programming Interface"

man7.org > tlpi > code Source Code for The Linux Programming Interface The source code for the program examples in The Linux Programming Interface as well as the example code that I use in various conference presentations is provided as a tarball in two versions: Distribution version : a tarball of the source code that includes extra material not shown in the book. Probably, the distribution version is the version of the code that you want.

Book version : a tarball of the source code as it appears in the book. 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. (C) 2026 Michael Kerrisk