[問題] 詢問Source Code的Header

看板Linux作者 (龍騎士2)時間15年前 (2010/04/03 00:15), 編輯推噓2(203)
留言5則, 4人參與, 最新討論串1/1
最近在 Linux 下看一些別人寫的 Source code 這些 code 都引用了很多系統的 .h 如 #include <pthread.h> #include <signal.h> #include <sys/ipc.h> #include <sys/sem.h> #include <sys/mman.h> .....(略), 共 28 個 因為小弟會的很粗淺, 大概知道常見的 math.h, string.h 這些很標準的 所以很多都沒有看過 有沒有什麼資料, 有介紹這些系統本身就有的 .h 檔 可以幫助我瞭解 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 218.162.119.20

04/03 01:04, , 1F
google吧 不過當你有需要用到的時候自然就會了...XD
04/03 01:04, 1F

04/03 01:05, , 2F
可以試著google這些 header檔,應該就有蠻多介紹內容
04/03 01:05, 2F

04/03 01:43, , 3F
Beginning Linux Programming, N. Matthew & R. Stones
04/03 01:43, 3F

04/03 02:23, , 4F
也可以隨便刪掉一個 看哪些function在error就知道用途XD
04/03 02:23, 4F

04/05 10:25, , 5F
謝謝Adama寶貴的建議, 也謝謝james732的建議,這是好方法
04/05 10:25, 5F
文章代碼(AID): #1BjXWv27 (Linux)