Amazon.com
Libraries
To order a copy for your library, please visit
Coutts Library Service.
Purpose
The primary purpose of this addendum is to provide corrections
to any
misinformation contained in The C/Unix Programmer's Guide.
Minor spelling and grammatical errors will not be listed here.
However, reports of any such errors are greatly appreciated.
Known errors and omissions in first AND second printings
- Page 127, last line:
"simply to" should read "simply counts to"
- Page 182:
The sample program must be compiled with the "-lm" option. This tells
the linker to search the library libm.a, where it will find
the sqrt() function.
cc sample.c -lm
- Page 213:
In the example, the word "permutation" is misused. The program actually
prints "ordered samples", not permutations.
- Page 332:
The footnote regarding linked lists should point to section 18.5.2, not
18.1.
- Page 337:
In both code fragments, the variable listsize should be
defined as type size_t.
- Page 493:
The first statement in main() should read:
names = read_names(name_list);
Known errors and omissions in first printing
|