Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2929113
  • 博文数量: 401
  • 博客积分: 12926
  • 博客等级: 上将
  • 技术积分: 4588
  • 用 户 组: 普通用户
  • 注册时间: 2009-02-22 14:51
文章分类

全部博文(401)

文章存档

2015年(16)

2014年(4)

2013年(12)

2012年(82)

2011年(98)

2010年(112)

2009年(77)

分类: LINUX

2012-07-08 17:47:58

我看到中的解释是这样的.
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.
阅读(4986) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~