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.
發表於2024-12-23
Advanced Programming in the UNIX Environment 2024 pdf epub mobi 電子書 下載
適閤老手查閱和補充知識,不建議新手入門時翻閱。原因是本書針對的是unix標準接口,而實際上各傢遵循unix標準並不是那麼完整,所以你會發現對書上的代碼進行驗證時往往得不到期望的結果;再有,本書的例程也比較意識流,對章節知識點的代錶性不足。總之新手翻閱本書會頭大的
評分第21章,與網絡打印機通信 printd.c的代碼中,從863到878行,如果讀的緩衝區剛好在"Content-Length:xxxx"(xxxx代錶一個數字)中的數字部分截斷,那得到的content-length就不是真實長度瞭。 求證。
評分翻譯問題: P342 係統進程依賴於操作係統實現。 The system processes you see will depend on the operating system implementation.
評分所有程序都在四個UNIX平颱下測試過,兼容性不用多說! 講述的內容非常全麵,原理講得很透徹。每讀完一章都有很多收獲。 對於有經驗的程序員,拿來做參看書也很閤適。 可惜的是linux內核版本是2.4的。 最後章實現瞭一個小型的數據庫,有空細細拜讀!!
評分這本書非常全麵又係統的介紹瞭Unix/linux下libc的主要接口以及*nix各種標準的實現。和現在在用的標準相比比較老,不過其中絕大部分的東西都可以重用。 建議一邊看這本書一邊用man 查看係統中相應的接口的用法。當然也可以直接閱讀glibc的手冊,手冊的信息也非常好。
圖書標籤: UNIX 計算機科學 the in RichardStevens Programming Linux/Unix Environment
Advanced Programming in the UNIX Environment 2024 pdf epub mobi 電子書 下載