如何本身实现程序查看文件的读写权限

利用stat函数实现web int stat(const char *path, struct stat *buf) 咱们来看程序bash 8 #define N_BITS 3 9 10 int main(int argc,char *argv[]) 11 { 12 unsigned int i,mask = 0700; 13 struct stat bu
相关文章
相关标签/搜索