By W. Richard Stevens, Stephen A. Rago
For greater than two decades, critical C programmers have depended on one booklet for sensible, in-depth wisdom of the programming interfaces that force the UNIX and Linux kernels: W. Richard Stevens’ Advanced Programming within the UNIX® Environment . Now, once more, Rich’s colleague Steve Rago has completely up to date this vintage paintings. the hot 3rd variation helps today’s major structures, displays new technical advances and most sensible practices, and aligns with model four of the one UNIX Specification.
Steve rigorously keeps the spirit and procedure that experience made this booklet so invaluable. development on Rich’s pioneering paintings, he starts with records, directories, and techniques, rigorously laying the basis for extra complex strategies, comparable to sign dealing with and terminal I/O. He additionally completely covers threads and multithreaded programming, and socket-based IPC.
This variation covers greater than seventy new interfaces, together with POSIX asynchronous I/O, spin locks, limitations, and POSIX semaphores. such a lot out of date interfaces were got rid of, aside from a couple of which are ubiquitous. approximately all examples were validated on 4 smooth structures: Solaris 10, Mac OS X model 10.6.8 (Darwin 10.8.0), FreeBSD 8.0, and Ubuntu model 12.04 (based on Linux 3.2).
As in earlier variants, you’ll research via examples, together with greater than 10000 traces of downloadable, ISO C resource code. greater than 400 method calls and capabilities are validated with concise, entire courses that sincerely illustrate their utilization, arguments, and go back values. To tie jointly what you’ve realized, the publication offers a number of chapter-length case reports, each one reflecting modern environments.
Advanced Programming within the UNIX® surroundings has helped generations of programmers write code with unparalleled strength, functionality, and reliability. Now up to date for today’s platforms, this 3rd version can be much more valuable.