Searched refs:W_OK (Results 1 - 13 of 13) sorted by relevance

/ast/src/cmd/3d/
H A Daccess3d.c56 case W_OK:
75 if (mode & (R_OK|W_OK|X_OK))
81 if (mode & W_OK) test |= S_IWUSR;
87 if (mode & W_OK) test |= S_IWGRP;
93 if (mode & W_OK) test |= S_IWOTH;
/ast/src/lib/libast/comp/
H A Deaccess.c84 if (flags & W_OK)
96 if (flags & W_OK)
125 if (flags & W_OK)
/ast/src/lib/libast/path/
H A Dpathtemp.c84 #define VALID(d) (*(d)&&!eaccess(d,W_OK|X_OK))
185 if (!(d = (char*)dir) || *d && eaccess(d, W_OK|X_OK))
230 if (!d && (!*(d = astconf("TMP", NiL, NiL)) || eaccess(d, W_OK|X_OK)) && eaccess(d = TMP1, W_OK|X_OK) && eaccess(d = TMP2, W_OK|X_OK))
H A Dpathshell.c64 if (!(ru = getuid()) || !eaccess("/bin", W_OK))
/ast/src/cmd/ie/
H A Dio.h187 # define W_OK 2 /* writable by caller */ macro
227 #define fiswrite(fd) (io_access(fd,W_OK)==0)
/ast/src/lib/libcmd/
H A Drm.c268 else if (!(ent->fts_info & FTS_SL) && !state->force && state->terminal && eaccess(path, W_OK))
/ast/src/cmd/ksh93/bltins/
H A Dtest.c322 return(permission(arg, W_OK));
/ast/src/cmd/mailx/
H A Dlex.c90 if (eaccess(name, W_OK))
/ast/src/lib/libtksh/src/
H A Dfilecmd.c163 mode = W_OK;
/ast/src/lib/libtksh/tcl/
H A DtclCmdAH.c798 mode = W_OK;
/ast/src/lib/libast/misc/
H A Dfastfind.c204 if (!eaccess(fp->encode.file, R_OK|W_OK))
/ast/src/lib/libcs/
H A Dcsopen.c54 if (eaccess(state->mount, R_OK|W_OK|X_OK))
/ast/src/cmd/sort/
H A Dmain.c1116 else if (eaccess(key->output, W_OK))

Completed in 54 milliseconds