UNIX programming classic gets updated
Jun 17, 2005 — by Rick Lehrbaum — from the LinuxDevices Archive — viewsNext week, Addison-Wesley Professional books will publish the Second Edition of Advanced Programming in the UNIX Environment. Originally authored by Richard Stevens and published in 1992, the new edition has been substantially updated by Stephen Rago, one of the developers of UNIX System V Release 4, and includes chapters on threads and multithreaded programming, using the socket interface to drive interprocess communication (IPC), and extensive coverage of the interfaces added to the latest version of the POSIX.1 standard.
(Click to see enlarged cover artwork including amusing Dilbert cartoon)
Addison-Wesley provided the following overview of the book:
For over a decade, serious C programmers have relied on Advanced Programming in the UNIX Environment for practical, in-depth knowledge of the programming interfaces that drive the UNIX and Linux kernels. Now, Stevens' colleague Stephen Rago has thoroughly updated this classic to reflect the latest technical advances and add support for today's leading UNIX and Linux platforms.
Rago carefully retains the spirit and approach that made this book a classic. Building on Stevens' work, he begins with basic topics such as files, directories, and processes, carefully laying the groundwork for understanding more advanced techniques, such as signal handling and terminal I/O.
Substantial new material includes chapters on threads and multithreaded programming, using the socket interface to drive interprocess communication (IPC), and extensive coverage of the interfaces added to the latest version of the POSIX.1 standard. Nearly all examples have been tested on four of today's most widely used UNIX/Linux platforms: FreeBSD 5.2.1; the Linux 2.4.22 kernel; Solaris 9; and Darwin 7.4.0, the FreeBSD/Mach hybrid underlying Apple's Mac OS X 10.3.
As in the first edition, you'll learn through example, including more than 10,000 lines of downloadable, ANSI C source code. More than 400 system calls and functions are demonstrated with concise, complete programs that clearly illustrate their usage, arguments, and return values. To tie together what you've learned, the book presents several chapter-length case studies, each fully updated for contemporary environments.
This article was originally published on LinuxDevices.com and has been donated to the open source community by QuinStreet Inc. Please visit LinuxToday.com for up-to-date news and articles about Linux and open source.