Stevens' Library

It's installed on kadenix in /usr/local/lib/libstevens.a
To compile one of his example programs that includes ourhdr.h, do:
gcc whatever.c -L/usr/local/lib -lstevens

You can download libstevens.a to install on your own system.

You can add to (or create) environment variable in your .profile:
LD_LIBRARY_PATH=$LD_LIBARY_PATH:/usr/local/lib
so that the /usr/local/lib is automatically searched for library files. Then you don't have to have the -L/usr/local/lib in the gcc command line.

Here's (581K) the tar file with all the examples' source code. Download onto your system, then:

tar -xf stevens.tar
will unbundle it. It'll make a apue/ directory and everything will be in it. Sourcefiles file tells where the chapter and section examples are.