Michael Kerrisk(http://man7.org)具有20多年的unix系统使用和编程经验,所开设的unix系统编程周训课程更是不计其数。自2004年起,他开始维护手册页项目,该项目旨在生成描述linux内核以及glibc编程api的手册页。他已经撰写或与他人合著了250多篇手册页,至今仍积极参与对linux内核/用户空间接口的测试和设计评审工作。
Michael与家人居住在德国慕尼黑。
AI导读
核心看点
涵盖500+系统调用与库函数,详解Linux/Unix编程接口
融合Linux专有特性与POSIX标准,兼顾深度与通用性
提供200+代码示例与图表,辅助理解复杂系统概念
读者共识
内容组织比APUE更系统,适合入门及全面掌握系统编程
对系统调用参数解释清晰,示例代码构思巧妙且实用
虽被誉为新时代APUE,但需注意部分章节的翻译错误
精彩摘录
"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."
"X/Opena联网服务。"
"At any point in time, one of the process groups in a session is the foreground process group for the terminal, and the others are background process groups. Only processes in the foreground process group can read input from the controlling terminal. When the user types one of the signal-generating t"
"使用makstemp()之类的函数确保这个文件的文件名不会不可预测"
"should at least ensure that the file has an unpredictable name, by using a function such as mkstemp()"
内容确实组织得比 APUE 更适合系统学习(APUE 更像字典,用到的时候才查),这一点和 Richard Love 的 Linux 系统编程很像,但内容覆盖得比后者全太多了,后者在这本面前只是 tutorial 级。以上是一年前快速翻完上册的感受,当时就标了五星。谁知道今天翻完下册竟然有一点失望,不是来自内容设计,而是来自中文版各种对不能翻译的词的瞎翻译,又一本“要猜原文是啥才能读懂意思”的尴尬中文译本,因此调降到四颗星。