Linux System Programming: Talking Directly to the Kernel and C Library, 2/e (Paperback)

Robert Love

買這商品的人也買了...

商品描述

Write software that draws directly on services offered by the Linux kernel and core system libraries. With this comprehensive book, Linux kernel contributor Robert Love provides you with a tutorial on Linux system programming, a reference manual on Linux system calls, and an insider’s guide to writing smarter, faster code.

Love clearly distinguishes between POSIX standard functions and special services offered only by Linux. With a new chapter on multithreading, this updated and expanded edition provides an in-depth look at Linux from both a theoretical and applied perspective over a wide range of programming topics, including:

  • A Linux kernel, C library, and C compiler overview
  • Basic I/O operations, such as reading from and writing to files
  • 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
  • Thread concepts, multithreaded programming, and Pthreads
  • File and directory management
  • Interfaces for allocating memory and optimizing memory access
  • Basic and advanced signal interfaces, and their role on the system
  • Clock management, including POSIX clocks and high-resolution timers

商品描述(中文翻譯)

撰寫直接使用Linux核心和核心系統庫所提供的服務的軟體。在這本全面的書中,Linux核心貢獻者Robert Love為您提供了Linux系統程式設計的教程,Linux系統呼叫的參考手冊,以及撰寫更智能、更快速的程式碼的內部指南。

Love清楚地區分了POSIX標準函數和僅由Linux提供的特殊服務。這本更新和擴充版新增了一章關於多執行緒,從理論和應用的角度深入探討了Linux的各種程式設計主題,包括:

- Linux核心、C函式庫和C編譯器概述
- 基本的輸入/輸出操作,例如從檔案讀取和寫入
- 高級的輸入/輸出介面、記憶體映射和優化技巧
- 基本進程管理的系統呼叫族群
- 高級進程管理,包括實時進程
- 執行緒概念、多執行緒程式設計和Pthreads
- 檔案和目錄管理
- 分配記憶體和優化記憶體存取的介面
- 基本和高級信號介面,以及它們在系統中的角色
- 時鐘管理,包括POSIX時鐘和高解析度計時器