会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
cfans1993
博客园
首页
新随笔
联系
订阅
管理
2016年6月28日
linux 文件属性
摘要: 关于属性的结构 在linux下文件和文件夹都被认为是文件, 所以以下的这个属性对文件和文件夹通用 获取属性的函数有stat/fstat/lstat/fstat c struct stat buf; char pathname="./test.txt"; if(stat(pathname,&buf)
阅读全文
posted @ 2016-06-28 18:19 cfans1993
阅读(588)
评论(0)
推荐(0)
编辑
公告