我看到中的解释是这样的.
1.char *page : The buffer where the data is to be inserted,if you decide to use it .
我的理解是kernel分配的1个小于一个page大小的buffer。buffer的具体大小再count参数中指出。
2.char **start: A pointer to a pointer to characters.This is useful if you don't want to use the buffer allocated by the kernel.
如果不使用内核分配的buffer,使用自己的buffer,则需要把buffer指针的地址传出。
3.off_T off: The current position in the file
app读取当前proc的offset。
4.int count:The size of the buffer in the first argument.
5.int *eof :Write a "1" here to indicate EOF.
阅读(5063) | 评论(0) | 转发(0) |