|
April 2005
Book Review: Solaris Systems Programming
Reviewed by Ed Schaefer
Solaris Systems Programming
By Rich Teer
Prentice Hall PTR; 2005
ISBN: 0201750392
1248 pages
Rich Teer is a "self-confessed Sun bigot", and I'm glad he is.
This is the rare instance where being a "bigot" is a good thing,
because Teer is a well-known Sun consultant with a wealth of Solaris "C"
programming experience. Fortunately, he's sharing his
experience in his book Solaris Systems Programming.
This text covers Solaris OS versions 2.5, 2.6, 7, 8, and 9.
The Author
The author's Web site provides an exhaustive table of contents, a
detailed list of programs, the book's errata, and a sample chapter.
(Also at the site, Teer posts his personal blog and shares other articles
he's written.)
Additionally, the book's nearly 300 programs are available for download.
Compiling the Source
I downloaded the source tarball and compiled it with no trouble. Well, I'm
certain it would have gone without a hitch if my compiler were version 5.4 of
Sun's "C" compiler as the author suggested using. But, because I compiled the
code with Sun's 4.2 version on Solaris 7, eight programs failed to compile.
It should be no surprise that you really need Solaris 9 to take full advantage
of this book.
My compile problems happened because certain functions are available only
in the later OS versions; for example, the strlcat function was introduced
with Solaris 8, and the crypt_gensalt and getpagesizes functions are
introduced in Solaris 9.
|