Book Description
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
中文:
书名:Linux System Programming, 2nd Edition
Linux系统编程:与内核和C库直接对话
编写直接利用Linux内核和核心系统库提供的服务的软件。在这本全面的书中,Linux内核贡献者Robert Love为您提供了关于Linux系统编程的教程、关于Linux系统调用的参考手册以及编写更智能、更快代码的内幕指南。
LOVE清楚地区分了POSIX标准功能和仅由Linux提供的特殊服务。这个更新和扩展的版本增加了关于多线程的新一章,从理论和应用两个角度深入介绍了Linux,涵盖了广泛的编程主题,包括:
- A Linux kernel, C library, and C compiler overview
- 基本I/O操作,如读取和写入文件
- 高级I/O接口、内存映射和优化技术
- 这一系列系统需要基本的流程管理
- 高级流程管理,包括实时流程
- 线程概念、多线程编程和P线程
- 文件和目录管理
- 用于分配内存和优化内存访问的接口
- Basic and advanced signal interfaces, and their role on the system
- 时钟管理,包括POSIX时钟和高精度定时器
目录表
第一章绪论和基本概念
第2章.文件I/O
第3章.缓冲I/O
Chapter 4. Advanced File I/O
Chapter 5. Process Management
第6章:高级流程管理
第7章.线程
第8章.文件和目录管理
Chapter 9. Memory Management
第十章.信号
Chapter 11. Time
附录A.GCC对C语言的扩展
Appendix B. Bibliography
评论前必须登录!
注册