Linux System Programming, 2nd Edition
- Length: 456 pages
- Edition: 2
- Language: English
- Publisher: O'Reilly Media
- Publication Date: 2013-06-05
- ISBN-10: 1449339530
- ISBN-13: 9781449339531
- Sales Rank: #132212 (See Top 100 Books)
Linux System Programming: Talking Directly to the Kernel and C Library
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
Table of Contents
Chapter 1. Introduction and Essential Concepts
Chapter 2. File I/O
Chapter 3. Buffered I/O
Chapter 4. Advanced File I/O
Chapter 5. Process Management
Chapter 6. Advanced Process Management
Chapter 7. Threading
Chapter 8. File and Directory Management
Chapter 9. Memory Management
Chapter 10. Signals
Chapter 11. Time
Appendix A. GCC Extensions to the C Language
Appendix B. Bibliography