Linux System Programming Techniques: Become a proficient Linux system programmer using expert recipes and techniques
暫譯: Linux 系統程式設計技巧:運用專家秘訣與技術成為熟練的 Linux 系統程式設計師

Persson, Jack-Benny

  • 出版商: Packt Publishing
  • 出版日期: 2021-05-07
  • 定價: $1,560
  • 售價: 9.0$1,404
  • 語言: 英文
  • 頁數: 432
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1789951283
  • ISBN-13: 9781789951288
  • 相關分類: Linux
  • 相關翻譯: Linux 系統編程 (簡中版)
  • 立即出貨 (庫存 < 3)

商品描述

Find solutions to all your problems related to Linux system programming using practical recipes for developing your own system programs


Key Features:

  • Develop a deeper understanding of how Linux system programming works
  • Gain hands-on experience of working with different Linux projects with the help of practical examples
  • Learn how to develop your own programs for Linux


Book Description:

Linux is the world's most popular open source operating system (OS). Linux System Programming Techniques will enable you to extend the Linux OS with your own system programs and communicate with other programs on the system.


The book begins by exploring the Linux filesystem, its basic commands, built-in manual pages, the GNU compiler collection (GCC), and Linux system calls. You'll then discover how to handle errors in your programs and will learn to catch errors and print relevant information about them. The book takes you through multiple recipes on how to read and write files on the system, using both streams and file descriptors. As you advance, you'll delve into forking, creating zombie processes, and daemons, along with recipes on how to handle daemons using systemd. After this, you'll find out how to create shared libraries and start exploring different types of interprocess communication (IPC). In the later chapters, recipes on how to write programs using POSIX threads and how to debug your programs using the GNU debugger (GDB) and Valgrind will also be covered.


By the end of this Linux book, you will be able to develop your own system programs for Linux, including daemons, tools, clients, and filters.


What You Will Learn:

  • Discover how to write programs for the Linux system using a wide variety of system calls
  • Delve into the working of POSIX functions
  • Understand and use key concepts such as signals, pipes, IPC, and process management
  • Find out how to integrate programs with a Linux system
  • Explore advanced topics such as filesystem operations, creating shared libraries, and debugging your programs
  • Gain an overall understanding of how to debug your programs using Valgrind


Who this book is for:

This book is for anyone who wants to develop system programs for Linux and gain a deeper understanding of the Linux system. The book is beneficial for anyone who is facing issues related to a particular part of Linux system programming and is looking for specific recipes or solutions.

商品描述(中文翻譯)

使用實用的配方解決與 Linux 系統程式設計相關的所有問題,開發您自己的系統程式

主要特色:


  • 深入了解 Linux 系統程式設計的運作方式

  • 透過實用範例獲得不同 Linux 專案的實作經驗

  • 學習如何為 Linux 開發自己的程式

書籍描述:
Linux 是全球最受歡迎的開源作業系統 (OS)。《Linux 系統程式設計技術》將使您能夠使用自己的系統程式擴展 Linux OS,並與系統上的其他程式進行通信。

本書首先探討 Linux 檔案系統、基本命令、內建手冊頁、GNU 編譯器集合 (GCC) 以及 Linux 系統呼叫。接著,您將學習如何處理程式中的錯誤,並學會捕捉錯誤並列印相關資訊。本書提供多個配方,教您如何在系統上讀取和寫入檔案,使用流和檔案描述符。隨著進展,您將深入了解分叉、創建僵屍進程和守護進程,並學習如何使用 systemd 處理守護進程的配方。之後,您將學會如何創建共享庫,並開始探索不同類型的進程間通信 (IPC)。在後面的章節中,還將涵蓋如何使用 POSIX 執行緒編寫程式以及如何使用 GNU 調試器 (GDB) 和 Valgrind 調試程式的配方。

在本書結束時,您將能夠為 Linux 開發自己的系統程式,包括守護進程、工具、客戶端和過濾器。

您將學到什麼:


  • 發現如何使用各種系統呼叫為 Linux 系統編寫程式

  • 深入了解 POSIX 函數的運作

  • 理解並使用關鍵概念,如信號、管道、IPC 和進程管理

  • 了解如何將程式與 Linux 系統整合

  • 探索進階主題,如檔案系統操作、創建共享庫和調試程式

  • 全面了解如何使用 Valgrind 調試程式

本書適合誰:
本書適合任何希望為 Linux 開發系統程式並深入了解 Linux 系統的人。對於面臨與 Linux 系統程式設計特定部分相關問題的人,本書提供了有益的配方或解決方案。