书籍 Advanced Programming in the UNIX Environment, 3rd Edition的封面

Advanced Programming in the UNIX Environment, 3rd Edition

W. Richard Stevens, Stephen A. Rago

出版时间

2013-05-24

ISBN

9780321637734

评分

★★★★★
书籍介绍
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 and Linux kernels: W. Richard Stevens’ Advanced Programming in the UNIX® Environment . Now, once again, Rich’s colleague Steve Rago has thoroughly updated this classic work. The new third edition supports today’s leading platforms, reflects new technical advances and best practices, and aligns with Version 4 of the Single UNIX Specification. Steve carefully retains the spirit and approach that have made this book so valuable. Building on Rich’s pioneering work, he begins with files, directories, and processes, carefully laying the groundwork for more advanced techniques, such as signal handling and terminal I/O. He also thoroughly covers threads and multithreaded programming, and socket-based IPC. This edition covers more than seventy new interfaces, including POSIX asynchronous I/O, spin locks, barriers, and 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), FreeBSD 8.0, and Ubuntu version 12.04 (based on Linux 3.2). As in previous editions, you’ll learn through examples, including more than ten thousand lines of downloadable, ISO C source code. More than four hundred 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 reflecting contemporary environments. Advanced Programming in the UNIX® Environment has helped generations of programmers write code with exceptional power, performance, and reliability. Now updated for today’s systems, this third edition will be even more valuable.
用户评论
这个时间点下真的过气了。照顾多种实现显得过于啰嗦(POSIX自己的锅?),某些章节编排显然不合理(比如I/O Multiplexing放到了network socket之前),内容侧重点不对(以现在要求而言);感觉不如找本针对某个具体platform的
我觉得不好,太啰嗦
值得带着目的读。太精细了,每一个带 at 的函数变体都要交代一遍具体行为,确实帮读者省下了前后互见的时间,但有点详略不当。第一版传承下来的万能菜谱思路让一些章节味同嚼蜡,读者希望得到实现原理,而不是加长加厚的 man 参数列表。各种标志、掩码的介绍可以交给互联网,作者更擅长解说复杂体系。
四星半,半星扣在API太旧。是很经典的系统编程手册,需要反复翻阅。
3rd Edition!经典重现。
就算读过吧
Z-Library