标题:问一下如何用C实现linux下的opendir()和readdir()两个函数的功能?
只看楼主
死神DIY
Rank: 1
等 级:新手上路
帖 子:14
专家分:0
注 册:2007-9-13
 问题点数:0 回复次数:2 
问一下如何用C实现linux下的opendir()和readdir()两个函数的功能?
如题,谢谢……
搜索更多相关主题的帖子: opendir readdir linux 函数 
2008-06-29 16:05
lingluoz
Rank: 2
来 自:苏州科技学院
等 级:新手上路
威 望:4
帖 子:749
专家分:0
注 册:2008-2-2
得分:0 
如果是tc就调用中断
如果是vc/mingw就调用api反正都是要坑文档的。。

Murphy's Law :
If there are two or more ways to do something, and one of those ways can result in a catastrophe, then someone will do it.
2008-06-29 18:56
死神DIY
Rank: 1
等 级:新手上路
帖 子:14
专家分:0
注 册:2007-9-13
得分:0 
呼呼,是在linux下用gcc做,想实现下ls的功能,里面用到的这两个函数想自己试着写下的说……但是又不知道怎么下手……不知道该怎么遍历目录的一说……呵呵呵
2008-06-30 23:28



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-221849-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 1.090843 second(s), 7 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved