Advanced Programming in the UNIX Environment 在線電子書 圖書標籤: UNIX 計算機科學 the in RichardStevens Programming Linux/Unix Environment
發表於2024-11-04
Advanced Programming in the UNIX Environment 在線電子書 pdf 下載 txt下載 epub 下載 mobi 下載 2024
W.Richard Stevens,備受贊譽的技術作傢,生前著有多種經典的傳世之作,包括《UNIX網絡編程》(兩捲本)、《TCP/IP詳解》(三捲本)和本書第1版。 尤晉元,上海交通大學計算機科學及工程係教 授、博士生導師。在科研方麵,主要從事操作係統和分布對象計算技術方麵的研究;在教學方麵,長期承擔操作係統及分布計算等課程的教學工作。主編和翻譯瞭多本操作係統教材和參考書,包括《UNIX操作係統教程》、《UNIX高級編程技術》、《UNIX環境高級編程》和《操作係統:設計與實現》等。
Product Description
Bestselling UNIX author W. Richard Stevens offers application developers and system programmers his professional, experience-based guidance on using the system call interface with C. In the first half of the book, Stevens describes more than 200 system calls and functions with a brief example program following each description. Having provided the basics, Stevens moves on to chapter-long examples. The book is applicable to all major UNIX releases, especially System V Release 4-including Solaris 2-and 4.4 BSD, including 386 BSD.
From the Publisher
A tutorial that you just shouldn't be without
If you are an experienced C programmer with a working knowledge of UNIX, you cannot afford to be without this up-to-date tutorial on the system call interface and the most important functions found in the ANSI C library. Rich Stevens describes more than 200 system calls and functions; since he believes the best way to learn code is to read code, a brief example accompanies each description.
Building upon information presented in the first 15 chapters, the author offers chapter-long examples teaching you how to create a database library, a PostScript printer driver, a modem dialer, and a program that runs other programs under a pseudo terminal. To make your analysis and understanding of this code even easier, and to allow you to modify it, all of the code in the book is available via UUNET.
A 20-page appendix provides detailed function prototypes for all the UNIX, POSIX, and ANSI C functions that are described in the book, and lists the page on which each prototype function is described in detail. Additional tables throughout the text and a thorough index make Advanced Programming in the UNIX Environment an invaluable reference tool that all UNIX programmers - beginners to experts - will want on their bookshelves.
Advanced Programming in the UNIX Environment is applicable to all major UNIX releases, especially System V Release 4 and the latest release of 4.3BSD, including 386BSD. These real-world implementations allow you to more clearly understand the status of the current and future standards, including IEEE POSIX and XPG3.
所有程序都在四个UNIX平台下测试过,兼容性不用多说! 讲述的内容非常全面,原理讲得很透彻。每读完一章都有很多收获。 对于有经验的程序员,拿来做参看书也很合适。 可惜的是linux内核版本是2.4的。 最后章实现了一个小型的数据库,有空细细拜读!!
評分这本书非常全面又系统的介绍了Unix/linux下libc的主要接口以及*nix各种标准的实现。和现在在用的标准相比比较老,不过其中绝大部分的东西都可以重用。 建议一边看这本书一边用man 查看系统中相应的接口的用法。当然也可以直接阅读glibc的手册,手册的信息也非常好。
評分 評分第21章,与网络打印机通信 printd.c的代码中,从863到878行,如果读的缓冲区刚好在"Content-Length:xxxx"(xxxx代表一个数字)中的数字部分截断,那得到的content-length就不是真实长度了。 求证。
評分Advanced Programming in the UNIX Environment 在線電子書 pdf 下載 txt下載 epub 下載 mobi 下載 2024