[心得] 推薦書籍 TLPI (The Linux Programming …
[2]Linux system programming
記得 2006 年 [4]chroot/[5]Hacks in Taiwan Conference 的發起人 [6]timshu 曾經出
版過一書《[7]Linux C函式庫詳解辭典》,這本書含括了超過 400 個函式,成為許多
Linux 軟體開發者的參考手邊書。
雖然 Linux/Unix 系統上有相當多的參考文件,只要你知道該問什麼問題,都可以找到答
案。但是線上手冊 ([8]man pages, [9]info)常缺乏系統式的整理,新手頗難入手。且
man pages 有時言簡意賅,缺乏範例程式,往往不容易閱讀。因此像是《[10]Linux C函式
庫詳解辭典》便極有參考價值。
類似的系統 API 書籍還有 [12]Robert Love 的 [13]Linux System Programming:
Talking Directly to the Kernel and C Library*。rlove 的書對於各系統層廣度足夠,
可惜深度不足,書中充滿提示,你得有足夠的背景知識纔全然理解他所要傳達的資訊,而
具體的實務應用資訊也不足,無法用來當作字典臨時查詢需要的 API 與範例。
2010 年十月,[15]Michael Kerrisk 發表了 [16]TLPI – The Linux Programming
Interface,Michael Kerrisk 是 [17]Linux man-pages Project 的維護者,文件維護者
出書其份量與內容勢必可觀,TLPI 內容超過 1500 頁、超過 60 個章節、超過 200 個範
例,內容除了含括 [18]POSIX.1-2001/SUSv3 與 [19]POSIX.1-2008/SUSv4 外,也包含了
許多 Linux 獨有的特色,對於跨 UNIX 作業系統移植性亦有著墨,相對於 [20]Richard
Stevens 與 Stephen A. Rago 的 [21]Advanced Programming in the UNIX Environment
,圖表與內容均不遜色,且每個章節都至少有一題練習題。
值得一提的是,TLPI 除了介紹 system calls 外,文中也試著說明 2.4.x. 到 2.6.x
(2.6.34) 間核心變動對於系統的影響。
推薦 Linux 軟體開發者備妥一本作為案頭書。
References:
[1] http://people.debian.org.tw/~chihchun
[2] http://people.debian.org.tw/~chihchun/2011/05/16/linux-system-programming/
[3] http://www.anobii.com/books/Linux_C%E5%87%BD%E5%BC%8F%E5%BA%AB%E8%A9%B3%E8%A7%A3%E8%BE%AD%E5%85%B8/9789574424030/011959ca7ecadd740c/
[4] http://www.chroot.org/
[5] http://www.hitcon.org/
[6] http://timhsu.chroot.org/
[7] http://www.anobii.com/books/Linux_C%E5%87%BD%E5%BC%8F%E5%BA%AB%E8%A9%B3%E8%A7%A3%E8%BE%AD%E5%85%B8/9789574424030/011959ca7ecadd740c/
[8] http://en.wikipedia.org/wiki/Man_page
[9] http://en.wikipedia.org/wiki/Info_%28Unix%29
[10] http://www.anobii.com/books/Linux_C%E5%87%BD%E5%BC%8F%E5%BA%AB%E8%A9%B3%E8%A7%A3%E8%BE%AD%E5%85%B8/9789574424030/011959ca7ecadd740c/
[11] http://www.amazon.com/gp/product/0596009585/ref=as_li_ss_il?ie=UTF8&tag=rexsblahblahb-20&linkCode=as2&camp=217145&creative=399349&creativeASIN=0596009585
[12] http://blog.rlove.org/
[13] http://www.amazon.com/gp/product/0596009585/ref=as_li_ss_tl?ie=UTF8&tag=rexsblahblahb-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=0596009585
[14] http://www.amazon.com/gp/product/0321525949/ref=as_li_ss_il?ie=UTF8&tag=rexsblahblahb-20&linkCode=as2&camp=217145&creative=399349&creativeASIN=0321525949
[15] http://man7.org/tlpi/
[16] http://man7.org/tlpi/
[17] http://www.kernel.org/doc/man-pages/
[18] http://en.wikipedia.org/wiki/POSIX#POSIX:2001
[19] http://en.wikipedia.org/wiki/POSIX#POSIX:2008
[20] http://www.kohala.com/start/#books
[21] http://www.apuebook.com/
[22] http://www.amazon.com/gp/product/1593272200/ref=as_li_ss_il?ie=UTF8&tag=rexsblahblahb-20&linkCode=as2&camp=217145&creative=399349&creativeASIN=1593272200
--
http://people.debian.org.tw/~chihchun/
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 112.104.53.166
推
05/17 10:05, , 1F
05/17 10:05, 1F
推
05/17 15:51, , 2F
05/17 15:51, 2F
推
05/17 20:31, , 3F
05/17 20:31, 3F
推
05/17 21:14, , 4F
05/17 21:14, 4F
推
05/17 22:16, , 5F
05/17 22:16, 5F
→
05/19 10:41, , 6F
05/19 10:41, 6F
推
05/20 05:18, , 7F
05/20 05:18, 7F
→
05/20 05:18, , 8F
05/20 05:18, 8F
→
05/20 05:20, , 9F
05/20 05:20, 9F
推
06/04 19:42, , 10F
06/04 19:42, 10F