APUE(第四章)文件和目录
重点理解文件系统函数stat、fstat、fstatat和lstat#include <sys/stat.h>int stat(const char *restrict pathname,struct stat *restrict buf);int fstat(int fd,struct stat *buf);int lstat(const char *restrict pathname,struct stat *restrict buf);int fstatat(int fd,co