For more than twenty years serious C programmers have relied on one book for practical in-depth knowledge of the programming interfaces that drive the UNIX & Linux kernels: W. Richard Stevens Advanced Programming in the UNIX (r) Environment. Now once again Richs colleague Steve Rago has thoroughly updated this classic work. The new third edition supports todays leading platforms reflects new technical advances & best practices & aligns with Version 4 of the Single UNIX
Specification. Steve carefully retains the spirit & approach that have made this book so valuable. Building on Richs pioneering work he begins with files directories & processes carefully laying the groundwork for more advanced techniques such as signal handling & terminal I/O. He also thoroughly covers threads & multithreaded programming & socket-based IPC. This edition covers more than seventy new interfaces including POSIX asynchronous I/O spin locks barriers & POSIX semaphores. Most obsolete interfaces have been removed except for a few that are ubiquitous. Nearly all examples have been tested on four modern platforms: Solaris 10 Mac OS X version 10.6.8 (Darwin 10.8.0 ) Free BSD 8.0 & Ubuntu version 12.04 (based on Linux 3.2). As in previous editions youll learn through examples including more than ten thousand lines of downloadable ISoC source code. More than four hundred system calls & functions are demonstrated with concise complete programs that clearly illustrate their usage arguments & return values. To tie together what youve learned the book presents several chapter-length case studies each reflecting contemporary environments. Advanced Programming in the UNIX (r) Environment has helped generations of programmers write code with exceptional power performance & reliability. Now updated for todays systems this third edition will be even more valuable.