文件系统
摘要:1.stat/lstat函数: 需要头文件:#include <sys/stat.h> int stat(const char* path, struct stat* buf) 参数: path:文件路径 buf:存放文件属性 返回值: 成功:0 失败:-1 errno 获取文件大小:buf.st_
阅读全文
posted @ 2022-04-30 21:10
posted @ 2022-04-30 21:10
posted @ 2022-04-29 21:21
posted @ 2022-04-25 17:17
posted @ 2022-04-18 21:54
posted @ 2022-04-18 15:36
posted @ 2022-04-12 21:15