LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 942|回复: 2

关于opendir函数的返回类型DIR

[复制链接]
发表于 2003-5-17 22:52:25 | 显示全部楼层 |阅读模式
函数原型为:
DIR *opendir(const char *pathname);
返回值数据类型为DIR,可是在包含文件中找到:
typedef struct __dirstream DIR;
但找不到struct __dirstream的具体定义。
请问struct __dirstream在那里定义?是如何定义的?
谢谢!
发表于 2003-5-18 02:45:46 | 显示全部楼层
看看dirent.h还包含了什么文件?
发表于 2003-5-18 14:47:22 | 显示全部楼层
man opendir
里面有也讲
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表