robot
最新文章(10)
Mqskit 和其它相關工具
CPython 的 GC 二、三事
寫 Mecurial Extension 是件快樂的事!
Mozilla 台灣辨公室徵人啟事
關於 Apple 的兩項專利
core dump 之前的 frame
怎麼發出 beep 聲?
先承認你要找的是奴才吧!
程式碼要清的多乾淨?
FreeBSD 的 Thread-Local Storage 實作
首頁
新編
最新留言
Entries RSS
重要關鍵字(10)
coding (122)
Python (93)
FreeBSD (71)
WEB (61)
URL (48)
hardware (46)
javascript (36)
Linux (34)
blog (30)
C++ (16)
所有關鍵字
新增 URL
如何使用 ioctl()?
by thinker
2 Columns
關鍵字:
FreeBSD
coding
在 $FreeBSD$ hackers mail list 有人問起,$FreeBSD$ 上有這麼多 device,每種 device 的 ioctl command 都不同,難道都要去看 source code 才能知道嗎? John-Mark Gurney 就回道: {{{ Many aren't documented, but section 4 of the manpages is the place where they are suppose to be documented... if you look at netintro(4), you'll see a few for $network$ devices.. A few others like agp(4), bpf(4) and meteor(4) have ioctl's described... For the others, often the definitions in the header file is usually enough, as they sometimes also contains comments describing them... Good luck... }}} 如果 man page 裡找不到,那就要認命去看 code 了。
最後更新時間: 2006-10-03 00:47:50 CST |
引用
查詢:
COMMENTS: