Searched refs:access (Results 1 - 25 of 58) sorted by relevance

123

/ast/src/lib/libast/string/
H A Dstrtape.c76 if (!access("/dev/rmt/.", F_OK))
84 if (!access(tapefile, F_OK)) return(tapefile);
88 if (!access(tapefile, F_OK)) return(tapefile);
93 else if (!access("/dev/nst0", F_OK))
101 else if (!access("/dev/nrmt0", F_OK))
/ast/src/lib/libast/comp/
H A Dmkdir.c46 if (!access(path, F_OK))
H A Drmdir.c57 if (access(path, F_OK) < 0)
H A Deaccess.c24 * access() euid/egid implementation
47 return access(path, flags|EFF_ONLY_OK);
70 return access(path, flags);
H A Dopen.c68 if ((op & O_EXCL) && !access(path, F_OK))
H A Dspawnveg.c72 if (!access(path, X_OK))
172 if (access(path, X_OK))
/ast/src/lib/libast/misc/
H A Dsystrace.c51 if (access(buf, F_OK))
/ast/src/cmd/proto/
H A Dproto.c172 #ifndef access
173 #define access _huh_access macro
194 #undef access macro
239 extern int access(const char*, int);
302 if (file && access(file, 4))
342 if (access(buf, 0) && mkdir(buf, S_IRUSR|S_IWUSR|S_IXUSR|S_IRGRP|S_IXGRP|S_IROTH|S_IXOTH))
/ast/src/lib/libcs/
H A Dcsport.c146 if (access("/etc/in.atxd", F_OK))
/ast/src/cmd/std/
H A Diconv.c125 if (!access(p, X_OK) || !access(p += 4, X_OK))
/ast/src/lib/libast/sfio/
H A Dsfpopen.c58 { if(access(interp,X_OK) == 0)
110 { if(access(cmd,X_OK) != 0)
117 if(access(s,X_OK) == 0)
/ast/src/lib/libcmd/
H A Dgetconf.c293 if ((cmd = oargv[0]) && *cmd == '/' && !access(cmd, X_OK))
360 if (!access(buf, X_OK))
378 if (!access(buf, X_OK))
H A Dmkdir.c157 if (mkdir(path, n ? dmode : mode) < 0 && errno != EEXIST && access(path, F_OK) < 0)
/ast/src/cmd/coshell/
H A Dservice.h54 char* access; /* host access expression */ \
91 #define SHELL_DENIED (1<<1) /* access denied */
145 #define SETACCESS (1<<6) /* access was set */
193 char* access; member in struct:__anon58
281 unsigned long access; member in struct:__anon66
H A Dschedule.c227 if ((matched = match(ap, a, op)) && ap->access && !ap->home && !miscmatch(ap, ap->access))
420 if (a->set & SETACCESS) sp->access = dupstring(sp->access, a->access);
549 state.access = cs.time + ACCESS_SEARCH;
558 state.access = cs.time + ACCESS_SEARCH;
561 state.access = cs.time + ACCESS_UPDATE;
567 message((-2, "%sscanning access info file %s", atime ? "re" : "", file));
/ast/src/lib/libtk/compat/
H A Dunistd.h36 extern int access _ANSI_ARGS_((CONST char *path, int mode));
/ast/src/cmd/probe/
H A Dprobe.c495 if (access(path, F_OK))
499 if (access(path, F_OK) && mkdir(path, S_IRWXU|S_IRGRP|S_IXGRP|S_IROTH|S_IXOTH))
591 if (!access(cmd, F_OK))
598 if (access(cmd, F_OK) && mkdir(cmd, S_IRWXU|S_IRGRP|S_IXGRP|S_IROTH|S_IXOTH))
/ast/src/cmd/INIT/
H A Dhurl.sh39 [+?\bhurl\b is a shell script that attempts to access the \aurl\a by
127 realm=access
/ast/src/cmd/vczip/tests/
H A Dterror.h55 extern int access _ARG_((const char*, int));
277 { if (!(tmp = (char*)getenv("TMPDIR")) || access(tmp, 0) != 0)
/ast/src/cmd/ksh93/include/
H A Dshell.h221 * direct access to sh is obsolete, use sh_getinterp() instead
236 # define access(a,b) sh_access(a,b) macro
/ast/src/cmd/pack/
H A Dpack.c38 "access modes, access and modified dates, and owner as those of "
152 else if(access(outfile,F_OK) ==0)
H A Dunpack.c67 "access modes, access and modification dates, and owner as those "
163 else if(access(outfile,F_OK) ==0)
/ast/src/cmd/3d/
H A Dtouch.c34 * touch file access and modify times of file
137 if (access(file, F_OK))
/ast/src/cmd/re/
H A Dtestglob.c648 if (path[0] && access(path, F_OK)) {
659 if (access(path, F_OK)) {
704 if (!streq(work[cwd-1], ".") && access(path, F_OK))
/ast/src/cmd/mailx/
H A Dlocal.c110 if (!access(struse(state.path.temp), F_OK))
121 if (!access(struse(state.path.temp), F_OK))
821 * touch file access and modify times of file

Completed in 105 milliseconds

123