Lines Matching defs:mode
27 access3d(const char* path, int mode)
48 switch (mode)
68 return(ACCESS(sp, mode));
75 if (mode & (R_OK|W_OK|X_OK))
80 if (mode & R_OK) test |= S_IRUSR;
81 if (mode & W_OK) test |= S_IWUSR;
82 if (mode & X_OK) test |= S_IXUSR;
86 if (mode & R_OK) test |= S_IRGRP;
87 if (mode & W_OK) test |= S_IWGRP;
88 if (mode & X_OK) test |= S_IXGRP;
92 if (mode & R_OK) test |= S_IROTH;
93 if (mode & W_OK) test |= S_IWOTH;
94 if (mode & X_OK) test |= S_IXOTH;