主题 : linux用户空间应用程序常用函数fopen fread 复制链接 | 浏览器收藏 | 打印
因为这个舞台,我们相聚在一起!
级别: 侠客
UID: 2527
精华: 1
发帖: 91
金钱: 505 两
威望: 101 点
综合积分: 202 分
注册时间: 2008-11-22
最后登录: 2015-06-08
楼主  发表于: 2012-02-04 09:41

 linux用户空间应用程序常用函数fopen fread

大家好!新年快乐!

我想问问 linux用户空间应用程序常用函数比如fopen fread fwrite 我想知道他们的用法,函数参数。
想在linux中查找函数原型,该如何查找他们的函数原型,了解具体参数用法呢?

内核空间的函数原型可以查找,就是用户空间的函数原型不会查找
谢谢
蜗牛
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
1楼  发表于: 2012-02-04 14:52
要学会用男人解决问题。在Linux上通常可以用命令"man <函数名>"来查询具体函数的用法。关于man的用法,参考http://www.xker.com/page/e2007/1018/36319.html
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."