发布时间:2013-09-08 13:09:44
相关函数:fstat, lstat, chmod, chown, readlink, utime头文件:#include <sys/stat.h> #include <unistd.h>定义函数:int stat(const char * file_name, struct stat *buf);函数说明:stat()用来将参数file_name 所指的文件状态, 复制到参数buf 所指的结构中。下面是struct stat 内各参数的说明:str.........【阅读全文】