Advanced Programming in the UNIX Environment, 3rd Edition

Advanced Programming in the UNIX Environment, 3rd Edition

W. Richard Stevens, Stephen A. Rago

For greater than 20 years, critical C programmers have trusted 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 prime systems, displays new technical advances and most sensible practices, and aligns with model four of the one UNIX Specification.


Steve conscientiously keeps the spirit and technique that experience made this publication so worthwhile. construction on Rich’s pioneering paintings, he starts with records, directories, and approaches, rigorously laying the foundation for extra complex strategies, reminiscent of 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, boundaries, and POSIX semaphores. so much out of date interfaces were got rid of, apart from a number of which are ubiquitous. approximately all examples were demonstrated on 4 smooth systems: 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 prior variations, you’ll research via examples, together with greater than 10000 strains of downloadable, ISO C resource code. greater than 400 process calls and features are established with concise, whole courses that truly illustrate their utilization, arguments, and go back values. To tie jointly what you’ve discovered, the ebook offers numerous chapter-length case reviews, every one reflecting modern environments.


Advanced Programming within the UNIX® setting has helped generations of programmers write code with unparalleled energy, functionality, and reliability. Now up to date for today’s structures, this 3rd version could be much more valuable.

Show sample text content

Download sample