作者:
Michael Kerrisk 出版社: No Starch Press 副标题: A Linux and UNIX System Programming Handbook 出版年: 2010-10-28 页数: 1552 定价: USD 99.95 装帧: Hardcover ISBN: 9781593272203
The Linux Programming Interface describes the Linux API (application programming interface)-the system calls, library functions, and other low-level interfaces that are used, directly or indirectly, by every program that runs on Linux. Programs that explicitly use these interfaces are commonly called system programs, and include applications such as shells, editors, windowing s...
The Linux Programming Interface describes the Linux API (application programming interface)-the system calls, library functions, and other low-level interfaces that are used, directly or indirectly, by every program that runs on Linux. Programs that explicitly use these interfaces are commonly called system programs, and include applications such as shells, editors, windowing systems, terminal emulators, file managers, compilers, database management systems, virtual machines, network servers, and much of the other software that is employed on a daily basis on Linux systems. Extensively indexed and heavily cross-referenced, The Linux Programming Interface is both an introductory guide for readers new to the topic of system programming, and a comprehensive reference for experienced system programmers. Although this book goes into detail on a wealth of Linux-specific features, it gives careful attention to contemporary Unix programming standards and to portability issues.
作者简介
· · · · · ·
Michael Kerrisk is well-known in the Linux community as the maintainer of the man-pages project (www.kernel.org/doc/man-pages/), which documents the Linux kernel-userspace and standard C library interfaces. A former Digital Equipment Corporation programmer and trainer, Kerrisk was more recently an engineer at Google and then a fellow at the Linux Foundation working on kernel-us...
Michael Kerrisk is well-known in the Linux community as the maintainer of the man-pages project (www.kernel.org/doc/man-pages/), which documents the Linux kernel-userspace and standard C library interfaces. A former Digital Equipment Corporation programmer and trainer, Kerrisk was more recently an engineer at Google and then a fellow at the Linux Foundation working on kernel-userspace interface design review, testing, and documentation. He is a New Zealander living with his family in Munich, Germany.
目录
· · · · · ·
Preface
Chapter 1: History and Standards
Chapter 2: Fundamental Concepts
Chapter 3: System Programming Concepts
Chapter 4: File I/O: The Universal I/O Model
Chapter 5: File I/O: Further Details
· · · · · ·
(更多)
Preface
Chapter 1: History and Standards
Chapter 2: Fundamental Concepts
Chapter 3: System Programming Concepts
Chapter 4: File I/O: The Universal I/O Model
Chapter 5: File I/O: Further Details
Chapter 6: Processes
Chapter 7: Memory Allocation
Chapter 8: Users and Groups
Chapter 9: Process Credentials
Chapter 10: Time
Chapter 11: System Limits and Options
Chapter 12: System and Process Information
Chapter 13: File I/O Buffering
Chapter 14: File Systems
Chapter 15: File Attributes
Chapter 16: Extended Attributes
Chapter 17: Access Control Lists
Chapter 18: Directories and Links
Chapter 19: Monitoring File Events
Chapter 20: Signals: Fundamental Concepts
Chapter 21: Signals: Signal Handlers
Chapter 22: Signals: Advanced Features
Chapter 23: Timers and Sleeping
Chapter 24: Process Creation
Chapter 25: Process Termination
Chapter 26: Monitoring Child Processes
Chapter 27: Program Execution
Chapter 28: Process Creation and Program Execution in More Detail
Chapter 29: Threads: Introduction
Chapter 30: Threads: Thread Synchronization
Chapter 31: Threads: Thread Safety and Per-Thread Storage
Chapter 32: Threads: Thread Cancellation
Chapter 33: Threads: Further Details
Chapter 34: Process Groups, Sessions, and Job Control
Chapter 35: Process Priorities and Scheduling
Chapter 36: Process Resources
Chapter 37: Daemons
Chapter 38: Writing Secure Privileged Programs
Chapter 39: Capabilities
Chapter 40: Login Accounting
Chapter 41: Fundamentals of Shared Libraries
Chapter 42: Advanced Features of Shared Libraries
Chapter 43: Interprocess Communication Overview
Chapter 44: Pipes and FIFOs
Chapter 45: Introduction to System V IPC
Chapter 46: System V Message Queues
Chapter 47: System V Semaphores
Chapter 48: System V Shared Memory
Chapter 49: Memory Mappings
Chapter 50: Virtual Memory Operations
Chapter 51: Introduction to POSIX IPC
Chapter 52: POSIX Message Queues
Chapter 53: POSIX Semaphores
Chapter 54: POSIX Shared Memory
Chapter 55: File Locking
Chapter 56: Sockets: Introduction
Chapter 57: Sockets: UNIX Domain
Chapter 58: Sockets: Fundamentals of TCP/IP Networks
Chapter 59: Sockets: Internet Domains
Chapter 60: Sockets: Server Design
Chapter 61: Sockets: Advanced Topics
Chapter 62: Terminals
Chapter 63: Alternative I/O Models
Chapter 64: Pseudoterminals
Appendix A: Tracing System Calls
Appendix B: Parsing Command-Line Options
Appendix C: Casting the NULL Pointer
Appendix D: Kernel Configuration
Appendix E: Further Sources of Information
Appendix F: Solutions to Selected Exercises
· · · · · · (收起)
In order to access an IPC object, a process must have some means of identifying the object, and once the object has been “opened,” the process must use some type of handle to refer to the open object. Table 43-1 summarizes these properties for
the various types of IPC facilities. (查看原文)
Named semaphores: This type of semaphore has a name. By calling sem_open() with the same name, unrelated processes can access the same semaphore. (查看原文)
前言:译者十分坑,既然不想翻译就别翻,我想人邮也会出英文版,至少比原版便宜些,既然要翻译就用点心,别错误百出。众看官最好拿本英文版看。google pinyin手机版英文输入真是蠢,输点东西特别累。 34章说到SIGTTIN 和SIGTTOU时,第二点错误。原文是SIGTTOU is not sent if t...
(展开)
1 有用 E.T 2014-07-05 10:03:39
比较认真地看了前 10 章,后面的就随便翻了翻,这书其实跟 Linux System Programming 相差不大,只是厚了几倍,介绍了更多的 system calls……(咳咳,还有个 bonus 是习题,我还没做完 TAT
1 有用 死亡的飞翔 2015-05-21 17:49:46
挺好的一本参考书,借此终于详详细细的了解了一把Linux提供的系统编程接口,不过细节还需在真用的时候manpage一下。
0 有用 2012 2013-11-16 17:35:33
评分很高,观摩一下。。。看了一天,发现就是个手册
0 有用 lili 2012-09-11 12:11:25
非常全面 最好和Linux系统编程, UNIX圣经 相互参考着看。
0 有用 城北大洋桃有毛 2011-04-13 14:26:00
很不错!一本参考书。
0 有用 Fw[a]rd 2022-02-08 11:31:50
哪里不会点哪里,这是一本神奇的书。
0 有用 Aincrad-Lyu 2021-08-15 22:22:04
非常好,涉及Linux系统编程的方方面面。深入浅出,不是只介绍API,而是会深入到操作系统层面去解释原理和缘由。作者不愧是Linux手册的维护者。没看过APUE,直接看了这本,终于还是没失望。
0 有用 一群牛 2021-08-10 04:19:23
复习的时候快速跳读了十几章,相见恨晚啊!大概1/3讲原理,1/3讲api,1/3讲最佳实践,可读性非常好,观其大略,读得飞快。
0 有用 focus 2021-06-13 14:00:35
目前只看了几章,重新温习一下 Linux 的系统调用,有很多以前没有的体会。
0 有用 钝风 2021-05-20 00:20:38
Linux系统编程学习第一书,概念讲解清晰还有实际的代码例子可以修改运行。