Linux Application Development by Example: The Fundamental APIs
暫譯: 以範例學習Linux應用程式開發:基本API
Robbins, Arnold
- 出版商: Addison Wesley
- 出版日期: 2025-11-06
- 售價: $2,250
- 貴賓價: 9.5 折 $2,138
- 語言: 英文
- 頁數: 736
- 裝訂: Quality Paper - also called trade paper
- ISBN: 0135325528
- ISBN-13: 9780135325520
-
相關分類:
Linux
海外代購書籍(需單獨結帳)
相關主題
商品描述
Unlock the secrets of Linux system programming and take your coding skills to the next level
- Do you use Linux, but not really understand it?
- Have you ever wondered how ls -l knows everything it does?
- Could you explain to a coworker why ls and find can be external commands but cd and umask must be built into the shell?
The answers to these questions, and more, are in Linux Application Development by Example, Second Edition! This book tells you exactly what you need to know--no more and no less--about the fundamental Linux system programming APIs.
Following the latest POSIX standard, author Arnold Robbins explains how the basic file, process, IPC and networking APIs work. When possible, he demonstrates the use of the APIs with code drawn from real programs (V7 Unix, BSD Unix, and GNU), and when that's not possible, he provides small, clearly documented and annotated, standalone example programs of his own. All code presented in the book is available for download, so you can compile, run, and modify the programs yourself.
Robbins focuses on both high-level principles and "under the hood" techniques. Along the way, he carefully addresses real-world issues like performance, portability, and robustness.
Each chapter closes with exercises, ranging from coding problems to thought experiments, to help you cement your understanding of the material covered, and all chapters have been thoroughly revised and updated for this edition, along with two chapters new in this edition.
- Memory management
- File I/O
- File metadata
- Processes, Users and groups
- Sorting and searching
- Argument parsing
- Extended interfaces
- Signals
- Internationalization
- Basic Networking
- Debugging
- And more!
Just learning to program? Switching from Windows or macOS? Already developing with Linux but interested in exploring the system call interface further? No matter which, quickly and directly, this book will help you master the fundamentals needed to build serious Linux software.
"It's rare that I read a programming book and find myself enjoying it. I enjoyed going through this manuscript, to the point where I would be surprised that a couple hours would go by while I was absorbed in the topics.... It deserves to sit on my shelf alongside other classics."--Matthew Helmke, Linux author and consultant
With a Foreword by Chet Ramey, maintainer of the Bash shell
Register your book for convenient access to downloads, updates, and/or corrections as they become available. See inside book for details.
商品描述(中文翻譯)
揭開 Linux 系統程式設計的秘密,將你的程式編寫技能提升到新境界
- 你使用 Linux,但並不真正了解它嗎?
- 你是否曾經想過 ls -l 是如何知道它所做的一切的?
- 你能向同事解釋為什麼 ls 和 find 可以是外部命令,但 cd 和 umask 必須內建於 shell 嗎?
這些問題的答案,以及更多內容,都在 Linux 應用程式開發實例解析(第二版)!這本書告訴你關於基本 Linux 系統程式設計 API 所需了解的所有知識——不多也不少。
根據最新的 POSIX 標準,作者 Arnold Robbins 解釋了基本的檔案、過程、IPC 和網路 API 是如何運作的。當可能時,他使用來自真實程式(V7 Unix、BSD Unix 和 GNU)的程式碼來示範 API 的使用,當這不可能時,他提供了小型、清晰記錄和註解的獨立範例程式。書中提供的所有程式碼都可以下載,讓你能夠自行編譯、運行和修改這些程式。
Robbins 專注於高層原則和「底層」技術。在此過程中,他仔細處理了性能、可攜性和穩健性等現實問題。
每一章結尾都有練習題,從程式編寫問題到思考實驗,幫助你鞏固對所涵蓋材料的理解,所有章節都經過徹底修訂和更新,並新增了兩個章節。
- 記憶體管理
- 檔案 I/O
- 檔案元資料
- 過程、使用者和群組
- 排序和搜尋
- 參數解析
- 擴展介面
- 信號
- 國際化
- 基本網路
- 除錯
- 還有更多!
剛學習程式設計?從 Windows 或 macOS 轉換過來?已經在 Linux 上開發,但有興趣進一步探索系統呼叫介面? 無論是哪一種,這本書都能快速而直接地幫助你掌握建立嚴謹 Linux 軟體所需的基本知識。
「我很少讀到一本程式設計書,並且覺得自己很享受。我喜歡閱讀這本手稿,甚至驚訝於幾個小時就這樣過去了,因為我沉浸在這些主題中……它值得與其他經典書籍一起放在我的書架上。」--Matthew Helmke,Linux 作者和顧問
前言由 Chet Ramey,Bash shell 的維護者撰寫
註冊你的書籍以便方便訪問下載、更新和/或修正,隨著它們的可用性而提供。詳情請參見書內。
作者簡介
Arnold Robbins is a professional software engineer and technical author. He has been working with Unix systems of various sorts, GNU/Linux systems, C, C++, and all the other major Unix tools since 1980. As a long-time volunteer for the GNU project, he has been the maintainer of gawk (GNU Awk) for many years. In 2024, he was awarded the USENIX Lifetime Achievement Award ("The Flame") for his work on GNU Awk and for his numerous books on topics related to Unix and Linux.
作者簡介(中文翻譯)
阿諾德·羅賓斯是一位專業的軟體工程師和技術作者。自1980年以來,他一直在各種Unix系統、GNU/Linux系統、C、C++以及所有其他主要的Unix工具上工作。作為GNU專案的長期志願者,他已經擔任gawk(GNU Awk)的維護者多年。在2024年,他因在GNU Awk上的工作以及他關於Unix和Linux相關主題的多本書籍而獲得了USENIX終身成就獎('The Flame')。