Linux Application Development (Second Edition) (English Edition)

Author: (USA) Johnson
Publisher:
Publish Date: 2006-07-01
Features: This book introduces the knowledge required for developing applications in the Linux environment, provides detailed explanations of common issues encountered in programming practice, and offers typical examples for illustration. The book is divided into four parts. Part 1 introduces knowledge that beginners need to understand, including the history of Linux, copyright knowledge required for free software development, and GPL and other licenses, as well as how to obtain and use online documentation systems. Part 2 covers development environments and tools, including the use of Emacs editor, vi editor, and gdb debugger, options and extensions of gcc, basic knowledge of GNUC library, debugging tools for memory overflow and leaks, how to create, use, and manage static and dynamic libraries, and how to request system services through system calls. Part 3 provides a detailed introduction to Linux system programming knowledge, including process models, simple file management, signal handling, advanced file operations, directory operations, job control, terminals and pseudo-terminals, socket networking, time and timers, random numbers, virtual consoles, Linux consoles, and how to write secure programs. Part 4 selects and introduces the most commonly used development libraries in Linux programming, including string matching, the S-Lang library for terminal programming, hash-based database function libraries, command-line parsing libraries, how to dynamically load shared objects at runtime, and libraries related to user identification and authentication. The book is rich in content and practical, making it suitable for programmers who need to develop Linux software or port software from other platforms to Linux.

📌 Related Posts