Book Description
This book is about writing software that makes the most effective use of the system you're running on -- code that interfaces directly with the kernel and core system libraries, including the shell, text editor, compiler, debugger, core utilities, and system daemons. The majority of both Unix and Linux code is still written at the system level, and Linux System Programming focuses on everything above the kernel, where applications such as Apache, bash, cp, vim, Emacs, gcc, gdb, glibc, ls, mv, and X exist.
Written primarily for engineers looking to program (better) at the low level, this book is an ideal teaching tool for any programmer. Even with the trend toward high-level development, either through web software (such as PHP) or managed code (C#), someone still has to write the PHP interpreter and the C# virtual machine. Linux System Programming gives you an understanding of core internals that makes for better code, no matter where it appears in the stack. Debugging high-level code often requires you to understand the system calls and kernel behavior of your operating system, too.
Key topics include:
An overview of Linux, the kernel, the C library, and the C compiler
Reading from and writing to files, along with other basic file I/O operations, including how the Linux kernel implements and manages file I/O
Buffer size management, including the Standard I/O library
Advanced I/O interfaces, memory mappings, and optimization techniques
The family of system calls for basic process management
Advanced process management, including real-time processes
File and directories-creating, moving, copying, deleting, and managing them
Memory management -- interfaces for allocating memory, managing the memory you have, and optimizing your memory access
Signals and their role on a Unix system, plus basic and advanced signal interfaces
Time, sleeping, and clock management, starting with the basics and continuing through POSIX clocks and high resolution timers
With Linux System Programming, you will be able to take an in-depth look at Linux from both a theoretical and an applied perspective as you cover a wide range of programming topics.
發表於2025-03-26
Linux System Programming 2025 pdf epub mobi 電子書 下載
僅拿我看到的,很小一部分翻譯錯誤,來舉例(整本書各種翻譯問題數不勝數,不一一列舉瞭): P202:SMT翻譯成“同步綫程”。SMT通常應該翻譯成超綫程,或者直接按字麵意思翻譯成“同時多綫程”。“同步綫程”通常指多綫程的編程模型,完全兩個維度的東西,相差十萬八韆裏,很...
評分這本書和beginning linux programming以及complete reference of linux programming不同,作者的針對性非常強,僅僅是設計linux係統級彆上的程序,或者說,告訴讀者如何用編譯程序來實現linux係統命令的功能。直接往往是高效率,但又容易産生差距感。我更傾嚮於把這本書當作手...
評分http://linuxtoy.org/archives/linux-system-programming-chinese-edition.html
評分僅拿我看到的,很小一部分翻譯錯誤,來舉例(整本書各種翻譯問題數不勝數,不一一列舉瞭): P202:SMT翻譯成“同步綫程”。SMT通常應該翻譯成超綫程,或者直接按字麵意思翻譯成“同時多綫程”。“同步綫程”通常指多綫程的編程模型,完全兩個維度的東西,相差十萬八韆裏,很...
評分沒覺得有多特彆,後來發現LKD也是作者的作品,所以靜下心來讀,這書還是很不錯的。 買瞭一堆Unix編程的書,都沒有好好讀過。 這次要看完這本。加油。
圖書標籤: Linux Programming System kernel 編程 Linux/Unix 計算機 操作係統
浩如煙海的man手冊不是那麼容易抓住重點,這個時候你需要這本書,但非常可惜的是,本書沒有網絡和多綫程的相關內容。
評分係統編程指南
評分前麵 io 那部分還不錯
評分看看作者的大名,你就知道瞭。。。。。
評分這本書不是太完整,缺不少內容,例如IPC,Thread
Linux System Programming 2025 pdf epub mobi 電子書 下載