出版社: O'Reilly Media
副标题: Talking Directly to the Kernel and C Library
出版年: 2007-9-28
页数: 392
定价: GBP 38.50
装帧: Paperback
ISBN: 9780596009588
内容简介 · · · · · ·
Book Description
This book is about writing software that makes the most effective use of the system you're running on -- code that interfaces directly with the kernel and core system libraries, including the shell, text editor, compiler, debugger, core utilities, and system daemons. The majority of both Unix and Linux code is still written at the system level, and Linux System...
Book Description
This book is about writing software that makes the most effective use of the system you're running on -- code that interfaces directly with the kernel and core system libraries, including the shell, text editor, compiler, debugger, core utilities, and system daemons. The majority of both Unix and Linux code is still written at the system level, and Linux System Programming focuses on everything above the kernel, where applications such as Apache, bash, cp, vim, Emacs, gcc, gdb, glibc, ls, mv, and X exist.
Written primarily for engineers looking to program (better) at the low level, this book is an ideal teaching tool for any programmer. Even with the trend toward high-level development, either through web software (such as PHP) or managed code (C#), someone still has to write the PHP interpreter and the C# virtual machine. Linux System Programming gives you an understanding of core internals that makes for better code, no matter where it appears in the stack. Debugging high-level code often requires you to understand the system calls and kernel behavior of your operating system, too.
Key topics include:
An overview of Linux, the kernel, the C library, and the C compiler
Reading from and writing to files, along with other basic file I/O operations, including how the Linux kernel implements and manages file I/O
Buffer size management, including the Standard I/O library
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
File and directories-creating, moving, copying, deleting, and managing them
Memory management -- interfaces for allocating memory, managing the memory you have, and optimizing your memory access
Signals and their role on a Unix system, plus basic and advanced signal interfaces
Time, sleeping, and clock management, starting with the basics and continuing through POSIX clocks and high resolution timers
With Linux System Programming, you will be able to take an in-depth look at Linux from both a theoretical and an applied perspective as you cover a wide range of programming topics.
喜欢读"Linux System Programming"的人也喜欢 · · · · · ·
Linux System Programming的书评 · · · · · · ( 全部 8 条 )
翻译是渣,请不要看人民邮电的第二版!
无法回避的软件本质复杂性
这篇书评可能有关键情节透露
这书可当作Linux下C函数的一般查询手册吧。 对我来说最有价值的是第7章7.4节线程模式的讨论: 创建多线程应用的第一步也是最重要的一步就是确定线程模式,线程模式也是应用程序的逻辑处理和I/O的模式,可能存在很多抽象和实现细节,但两个核心的编程模式是:“每个连接对应一个... (展开)知道自己要做什么才是最重要的
> 更多书评 8篇
论坛 · · · · · ·
Love的书果然有高见,精华的浓缩 | 来自sunny | 1 回应 | 2009-03-30 16:28:11 |
这本书的其他版本 · · · · · · ( 全部6 )
-
O'Reilly Media (2013)8.8分 47人读过
-
东南大学出版社 (2009)8.0分 108人读过
-
东南大学出版社 (2014)8.6分 50人读过
-
人民邮电出版社 (2014)8.1分 36人读过
在哪儿借这本书 · · · · · ·
以下书单推荐 · · · · · · ( 全部 )
- computer base (Zack)
- O'Reilly & M$ Press (fcicq)
- C语言编程书单 (野鹤鹤)
- C (caesar)
- my interest books (htyu_0203_39)
谁读这本书? · · · · · ·
二手市场
· · · · · ·
订阅关于Linux System Programming的评论:
feed: rss 2.0
0 有用 liuyix 2013-10-24 10:55:23
6星推荐的Linux专业图书,所涉及内容足够深入(对新手而言,对老手也有足够的lesson学习),虽然涵盖的没有APUE和TLPI广,但是却在IO和Memory management上有足够细致的讲解
0 有用 赖涛儿 2019-12-09 13:34:01
作为第一本 Linux 编程书来说是不错的教材,深入浅出,介绍了一些基本概念。可以解答很多新手的疑惑。但是并不是非常深入,书中的例子都非常简单,基本是调用一下 API,动手实践方面不太行。另外是每次介绍 API 的时候都会贴很多 error 类型以及介绍,占了很大的篇幅…… 很多我都是跳过去了…… 总的来说还是一本不可多得的好书。
0 有用 paranoid.emacs 2008-11-27 00:29:55
不厚道,简直就一本man手册,不过只看电子书还不错。。
0 有用 万码奔腾 2014-06-04 15:58:45
重点突出,应用与原理相结合,神书无疑了,比APUE更具可读性
0 有用 tangpanshui 2011-11-02 12:20:23
读完APUE再读这本书就会有种高屋建瓴的感觉。