“Stephen Rago’s update is a long overdue benefit to the community of professionals using the versatile family of UNIX and UNIX-like operating environments. It removes obsolescence and includes newer developments. It also thoroughly updates the context of all topics, examples, and applications to recent releases of popular implementations of UNIX and UNIX-like environments. And yet, it does all this while retaining the style and taste of the original classic.”
–Mukesh Kacker, cofounder and former CTO of Pronto Networks, Inc.
“One of the essential classics of UNIX programming.”
–Eric S. Raymond, author of The Art of UNIX Programming
“This is the definitive reference book for any serious or professional UNIX systems programmer. Rago has updated and extended the classic Stevens text while keeping true to the original. The APIs are illuminated by clear examples of their use. He also mentions many of the pitfalls to look out for when programming across different UNIX system implementations and points out how to avoid these pitfalls using relevant standards such as POSIX 1003.1, 2004 edition and the Single UNIX Specification, Version 3.”
–Andrew Josey, Director, Certification, The Open Group, and Chair of the POSIX 1003.1 Working Group
“Advanced Programming in the UNIX® Environment, Second Edition, is an essential reference for anyone writing programs for a UNIX system. It’s the first book I turn to when I want to understand or re-learn any of the various system interfaces. Stephen Rago has successfully revised this book to incorporate newer operating systems such as GNU/Linux and Apple’s OS X while keeping true to the first edition in terms of both readability and usefulness. It will always have a place right next to my computer.”
–Dr. Benjamin Kuperman, Swarthmore College
Praise for the First Edition
“Advanced Programming in the UNIX® Environment is a must-have for any serious C programmer who works under UNIX. Its depth, thoroughness, and clarity of explana-tion are unmatched.”
–UniForum Monthly
“Numerous readers recommended Advanced Programming in the UNIX® Environment by W. Richard Stevens (Addison-Wesley), and I’m glad they did; I hadn’t even heard of this book, and it’s been out since 1992. I just got my hands on a copy, and the first few chapters have been fascinating.”
–Open Systems Today
“A much more readable and detailed treatment of UNIX internals can be found in Advanced Programming in the UNIX® Environment by W. Richard Stevens (Addison-Wesley). This book includes lots of realistic examples, and I find it quite helpful when I have systems programming tasks to do.”
–RS/Magazine
“This is the definitive reference book for any serious or professional UNIX systems programmer. Rago has updated and extended the original Stevens classic while keeping true to the original.”
–Andrew Josey, Director, Certification, The Open Group, and Chair of the POSIX 1003.1 Working Group
For over a decade, serious C programmers have relied on one book for practical, in-depth knowledge of the programming interfaces that drive the UNIX and Linux kernels: W. Richard Stevens’ Advanced Programming in the UNIX® Environment. 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
ASIN : 0201433079
Publisher : Addison-Wesley Professional
Publication date : January 1, 2005
Edition : 2nd
Language : English
Print length : 927 pages
ISBN-10 : 0321525949
ISBN-13 : 978-0321525949
Item Weight : 4.65 pounds
Dimensions : 7.5 x 2.5 x 9.25 inches
Best Sellers Rank: #1,178,976 in Books (See Top 100 in Books) #11 in Unix Programming #113 in Unix Operating System #210 in Computer Operating Systems (Books)
Customer Reviews: 4.8 4.8 out of 5 stars (54) var dpAcrHasRegisteredArcLinkClickAction; P.when(‘A’, ‘ready’).execute(function(A) { if (dpAcrHasRegisteredArcLinkClickAction !== true) { dpAcrHasRegisteredArcLinkClickAction = true; A.declarative( ‘acrLink-click-metrics’, ‘click’, { “allowLinkDefault”: true }, function (event) { if (window.ue) { ue.count(“acrLinkClickCount”, (ue.count(“acrLinkClickCount”) || 0) + 1); } } ); } }); P.when(‘A’, ‘cf’).execute(function(A) { A.declarative(‘acrStarsLink-click-metrics’, ‘click’, { “allowLinkDefault” : true }, function(event){ if(window.ue) { ue.count(“acrStarsLinkWithPopoverClickCount”, (ue.count(“acrStarsLinkWithPopoverClickCount”) || 0) + 1); } }); });


AmazonCustomer –
Excellent reference and introduction to the UNIX programming environment.
Two things I like about this book are1. The book focuses heavily on standards and portability. Throughout the book, API and implementations are described according to the SUS or XSI standards. However, to book maintains a firm grasp on reality by tracking 4 real Unix-like systems, Solaris, Linux, Mac OS X, and FreeBSD throughout and noting implementation specific exceptions and extensions where applicable.2. A lot of illustrative example code is included. In some cases API functions are re-implemented to make it clear exactly how it works.APUEv2 reads quite easily as a beginner’s introduction to programming in the Unix environment. However it also includes a great deal of tables, charts, and figures to make it suitable as a reference for the more experienced programmer, useful as a back-up in case the local man pages are not available.As mentioned in the foreword, readers should be comfortable with the C language itself before attempting to dive in to Unix programming.
Tyler –
awesome book for systems programming
This book is literally saving me right now in an Introduction to Operating Systems class I’m taking. We have projects to complete in the UNIX envrionment and the fact that this book gives you every real code example you could possibly need for all levels of systems programming is GOLD. It’s laid out in a very straightforward way, has tons of code examples, and is overall awesome. Highly recommend if you’re just getting into systems programming on your own, or as a school reference book.
JAVIER A CORDOBA GANDARA –
Satisfied teacher
I read this for the first time after taking an operating systems course as undergrad. I enjoyed it.Then time passed and I am teaching advanced programming at the same university. This book is really a classic.It’s hard to talk about a book that for the most part would be a reference seated in your desk waiting for the obscure reference to that argument on a system call (that you can as well find in the man pages) but this book gives example code and you know visiting it from time to time would be of benefit. Students may be overwhelmed, but rest assured that if you read this with time, if you test the companion code and experiment yourself, Unix will be beautiful understood.
david –
No ther book like it
If you’re writing unix programs, this is the book you need. It is the only book that provides a complete, coherent guide to the unix API offered by linux and other operating systems. It has really good coverage of important details that you might not normally need to care about… until you do. There are plenty of examples and the book provides great context to the often terse built in manual pages.
Bernard Richard Carrier –
A reference that keeps on supporting my work
Whether dealing with interoperability issues or detailed design issues related to the Unix environment, the Advanced Programming in the UNIX Environment is the single most informative reference in my line of work. Also, when dealing with Internet and Distributed Processing, this reference keeps on providing guidance and code examples that drive the solutions.Bernard
Bob and Debbie –
UNIX for C programmers
This book looks great for C programmers. I didn’t view the overview well to see its detail.. I’ll see if I can make it usuable.
Jurek Bajor –
Four Stars
A good reference, but not up to date with Linux environment.
Sergio –
Excelent!
I acquired this book to help me to take a fast presentation of the Unix OS and that worked for me. Linux is very well documented in the Internet and, initally I was not sure if it were necessary to take any book. However, I read some chapter of this book in an library and imediately perceived the rich content of this book.
Tomás –
this book really worth the money. it’s a must read book for everyone interested in system programming. So obviously I’m very happy with the quality of this item.
Amilcar VILELA –
En très bon état.
Jorge –
Si quieres aprender sobre UNIX, este libro es lo que necesitas. Está en inglés, pero es fácil de entender, además está actualizado para los Sistemas actuales. Se aprende mucho y siempre lo puedes tener al lado para alguna consulta.
Kevin –
Love this book. The reason I took the second edition over the third edition is because of the Dilbert comic on the front, hahaha. Other than that, the content is excellent.
Matteo Tumiati –
Forse è un po’ troppo complesso per i lettori classici… Sono convinto però che gli appassionati del settore sono pronti a correggermi e infatti io sono rimasto molto soddisfatto!