会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Boblim
博客园
首页
新随笔
联系
订阅
管理
2017年3月23日
linux xfs文件系统无法用readdir获取dirent文件类型d_type则用stat获取暨stat函数讲解
摘要: stat函数讲解表头文件: #include <sys/stat.h> #include <unistd.h>定义函数: int stat(const char *file_name, struct stat *buf);函数说明: 通过文件名filename获取文件信息,并保存在buf所指的结构体
阅读全文
posted @ 2017-03-23 16:09 Boblim
阅读(2213)
评论(0)
推荐(0)
公告