討論串[問題] 問一個傳遞參數的問題..
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓0(0推 0噓 4→)留言4則,0人參與, 最新作者rz600000 (冏冏人)時間17年前 (2008/06/07 12:17), 編輯資訊
1
0
0
內容預覽:
我記得很久前有在某個地方看過. 但是一直找不到我在哪裡看過. 就是 今天假如一個mmap function. static int xxx_mmap (struct file *file, struct vm_area_struct *vma). 裡面的file 跟 vma 參數是怎麼樣產生的. 我

推噓0(0推 0噓 1→)留言1則,0人參與, 最新作者rz600000 (冏冏人)時間17年前 (2008/06/07 22:20), 編輯資訊
0
0
0
內容預覽:
1055 struct file_operations {. ....... 1067 int (*mmap) (struct file *, struct vm_area_struct *);. ...... 1085 };. 以上 kernel source code 中file_operati
(還有67個字)
首頁
上一頁
1
下一頁
尾頁