摘要:
【access系统调用】 功能描述: 检查调用进程是否可以对指定的文件执行某种操作。 用法: #include <unistd.h> #include <fcntl.h> int access(const char *pathname, int mode); 参数: pathname: 需要测试的文件路径名。 mode: 需要测试的操作模式,可能值是一个或多个R_OK(可读?), W_OK(可写?... 阅读全文
posted @ 2011-07-25 15:17
深海的小鱼儿
阅读(1042)
评论(0)
推荐(0)