Linux 编程接口:Linux 与 Unix 系统编程手册
中文版是《Linux/UNIX系统编程手册(套装共2册)》
英文版 1500 页,重量级系统化 Linux 编程入门教材,比肩 Charles Petzold 的 Programming Windows(《Windows 程序设计》)
The Linux Programming Interface (TLPI) is the definitive guide to the Linux and UNIX programming interface – the interface employed by nearly every application that runs on a Linux or UNIX system.
In this authoritative work, Linux programming expert Michael Kerrisk provides detailed descriptions of the system calls and library functions that you need in order to master the craft of system programming, and accompanies his explanations with clear, complete example programs.
Chapter 1: History and Standards.................................................................................... 1
Chapter 2: Fundamental Concepts ................................................................................. 21
Chapter 3: System Programming Concepts...................................................................... 43
Chapter 4: File I/O: The Universal I/O Model................................................................. 69
Chapter 5: File I/O: Further Details ................................................................................ 89
Chapter 6: Processes.................................................................................................. 113
Chapter 7: Memory Allocation..................................................................................... 139
Chapter 8: Users and Groups...................................................................................... 153
Chapter 9: Process Credentials .................................................................................... 167
Chapter 10: Time....................................................................................................... 185
Chapter 11: System Limits and Options......................................................................... 211
Chapter 12: System and Process Information................................................................. 223
Chapter 13: File I/O Buffering..................................................................................... 233
Chapter 14: File Systems ............................................................................................ 251
Chapter 15: File Attributes .......................................................................................... 279
Chapter 16: Extended Attributes .................................................................................. 311
Chapter 17: Access Control Lists.................................................................................. 319
Chapter 18: Directories and Links ................................................................................ 339
Chapter 19: Monitoring File Events .............................................................................. 375
Chapter 20: Signals: Fundamental Concepts ................................................................. 387
Chapter 21: Signals: Signal Handlers........................................................................... 421
Chapter 22: Signals: Advanced Features ...................................................................... 447
Chapter 23: Timers and Sleeping................................................................................. 479
Chapter 24: Process Creation...................................................................................... 513
Chapter 25: Process Termination.................................................................................. 531
Chapter 26: Monitoring Child Processes ....................................................................... 541
Chapter 27: Program Execution................................................................................... 563
Chapter 28: Process Creation and Program Execution in More Detail............................... 591
Chapter 29: Threads: Introduction................................................................................ 617
Chapter 30: Threads: Thread Synchronization............................................................... 631
Chapter 31: Threads: Thread Safety and Per-Thread Storage........................................... 655
Chapter 32: Threads: Thread Cancellation.................................................................... 671
Chapter 33: Threads: Further Details ............................................................................ 681
Chapter 34: Process Groups, Sessions, and Job Control ................................................. 699
Chapter 35: Process Priorities and Scheduling ............................................................... 733
Chapter 36: Process Resources .................................................................................... 753
Chapter 37: Daemons ................................................................................................ 767
Chapter 38: Writing Secure Privileged Programs ........................................................... 783
Chapter 39: Capabilities ............................................................................................ 797
Chapter 40: Login Accounting..................................................................................... 817
Chapter 41: Fundamentals of Shared Libraries .............................................................. 833
Chapter 42: Advanced Features of Shared Libraries....................................................... 859
Chapter 43: Interprocess Communication Overview ....................................................... 877
Chapter 44: Pipes and FIFOs....................................................................................... 889
Chapter 45: Introduction to System V IPC...................................................................... 921
Chapter 46: System V Message Queues ....................................................................... 937
Chapter 47: System V Semaphores .............................................................................. 965
Chapter 48: System V Shared Memory......................................................................... 997
Chapter 49: Memory Mappings ................................................................................ 1017
Chapter 50: Virtual Memory Operations..................................................................... 1045
Chapter 51: Introduction to POSIX IPC........................................................................ 1057
Chapter 52: POSIX Message Queues ......................................................................... 1063
Chapter 53: POSIX Semaphores ................................................................................ 1089
Chapter 54: POSIX Shared Memory........................................................................... 1107
Chapter 55: File Locking........................................................................................... 1117
Chapter 56: Sockets: Introduction .............................................................................. 1149
Chapter 57: Sockets: UNIX Domain ........................................................................... 1165
Chapter 58: Sockets: Fundamentals of TCP/IP Networks............................................... 1179
Chapter 59: Sockets: Internet Domains ....................................................................... 1197
Chapter 60: Sockets: Server Design ........................................................................... 1239
Chapter 61: Sockets: Advanced Topics....................................................................... 1253
Chapter 62: Terminals .............................................................................................. 1289
Chapter 63: Alternative I/O Models........................................................................... 1325
Chapter 64: Pseudoterminals..................................................................................... 1375