Linux access函数讲解

函数:函数 #include<unistd.h> spa int access(const char* pathname, int mode);3d 参数介绍:code     pathname 是文件的路径名+文件名blog     mode:指定access的做用,取值以下string F_OK 值为0,判断文件是否存在 X_OK 值为1,判断对文件是可执行权限 W_OK 值为2,判断对文
相关文章
相关标签/搜索