Home
last modified time | relevance | path

Searched refs:amode (Results 1 – 14 of 14) sorted by relevance

/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/
H A Dchmod.c165 register char* amode = 0; in b_chmod() local
211 amode = ""; in b_chmod()
237 if (error_info.errors || !*argv || !amode && !*(argv + 1)) in b_chmod()
249 if (amode) in b_chmod()
250 amode = 0; in b_chmod()
253 amode = *argv++; in b_chmod()
254 mode = strperm(amode, &last, 0); in b_chmod()
259 error(ERROR_exit(1), "%s: invalid mode", amode); in b_chmod()
294 if (amode) in b_chmod()
295 mode = strperm(amode, &last, ent->fts_statp->st_mode); in b_chmod()
/illumos-gate/usr/src/lib/libc/port/sys/
H A Daccess.c33 faccessat(int fd, const char *fname, int amode, int flag) in faccessat() argument
35 return (syscall(SYS_faccessat, fd, fname, amode, flag)); in faccessat()
40 access(const char *fname, int amode) in access() argument
43 return (syscall(SYS_access, fname, amode)); in access()
45 return (faccessat(AT_FDCWD, fname, amode, 0)); in access()
/illumos-gate/usr/src/cmd/bnu/
H A Dstrsave.c61 eaccess( path, amode ) in eaccess() argument
63 register mode_t amode;
70 amode &= 07;
79 if( (amode & s.st_mode) == amode )
/illumos-gate/usr/src/lib/libnsl/dial/
H A Dstrsave.c59 eaccess(char *path, mode_t amode) in eaccess() argument
66 amode &= 07; in eaccess()
75 if ((amode & s.st_mode) == amode) in eaccess()
/illumos-gate/usr/src/common/dis/i386/
H A Ddis_tables.c371 #define TNS(name, amode) {TERM, amode, 0, 0, 0, 0, 0} argument
383 #define TS(name, amode) {TERM, amode, 0, 0, 0, 0, 0} argument
396 #define TNS(name, amode) {TERM, amode, 0, 0, 0, 0} argument
397 #define TNSu(name, amode) {TERM, amode, 0, 0, 1, 0} argument
398 #define TNSy(name, amode) {TERM, amode, 0, 1, 0, 0} argument
399 #define TNSyp(name, amode) {TERM, amode, 0, 1, 0, 1} argument
400 #define TNSx(name, amode) {TERM, amode, 1, 0, 0, 0} argument
408 #define TS(name, amode) {TERM, amode, 0, 0, 0, 0} argument
409 #define TSx(name, amode) {TERM, amode, 1, 0, 0, 0} argument
410 #define TSy(name, amode) {TERM, amode, 0, 1, 0, 0} argument
[all …]
/illumos-gate/usr/src/tools/cscope-fast/
H A Dvpaccess.c39 vpaccess(char *path, mode_t amode) in vpaccess() argument
45 if ((returncode = access(path, amode)) == -1 && path[0] != '/') { in vpaccess()
49 if ((returncode = access(buf, amode)) != -1) { in vpaccess()
H A Dvp.h47 extern int vpaccess(char *path, mode_t amode);
/illumos-gate/usr/src/lib/libgen/common/
H A Deaccess.c40 eaccess(const char *path, int amode) in eaccess() argument
43 return (access(path, 010|amode)); in eaccess()
/illumos-gate/usr/src/lib/libproc/common/
H A Dpr_open.c170 pr_access(struct ps_prochandle *Pr, const char *path, int amode) in pr_access() argument
178 return (access(path, amode)); in pr_access()
195 adp->arg_value = (long)amode; in pr_access()
/illumos-gate/usr/src/cmd/find/
H A Dfind.c1948 const char *amode = ascmode; in readmode() local
1955 if (*amode >= '0' && *amode <= '7') { in readmode()
1959 while (*amode >= '0' && *amode <= '7') in readmode()
1961 if (*amode != '\0') in readmode()
1994 while ((t = iswho(*amode)) != 0) { in readmode()
1995 ++amode; in readmode()
2012 if (!isop(pp->p_op = *amode++)) in readmode()
2051 ++amode; in readmode()
2063 ++amode; in readmode()
2067 switch (*amode) { in readmode()
[all …]
/illumos-gate/usr/src/uts/sun4u/io/
H A Denvctrl_targets.c968 int autoinc, int amode, int aenable, uint8_t *buf, int size) in ehc_read_pcf8591() argument
977 ASSERT(amode < 4); in ehc_read_pcf8591()
987 control = ((aenable << 6) | (amode << 4) | (autoinc << 2) | channel); in ehc_read_pcf8591()
1088 int autoinc, int amode, int aenable, uint8_t *buf, int size) in ehc_write_pcf8591() argument
1096 control = ((aenable << 6) | (amode << 4) | (autoinc << 2) | channel); in ehc_write_pcf8591()
/illumos-gate/usr/src/lib/brand/solaris10/s10_brand/common/
H A Ds10_deleted.c322 s10_faccessat(sysret_t *rval, int fd, const char *fname, int amode, int flag) in s10_faccessat() argument
325 fd, fname, amode, flag)); in s10_faccessat()
329 s10_access(sysret_t *rval, const char *fname, int amode) in s10_access() argument
332 AT_FDCWD, fname, amode, 0)); in s10_access()
/illumos-gate/usr/src/uts/sun4u/tazmo/io/
H A Denvctrl.c3991 int autoinc, int amode, int aenable, uint8_t *buf, int size) in eHc_read_pcf8591() argument
4000 ASSERT(amode < 4); in eHc_read_pcf8591()
4010 control = ((aenable << 6) | (amode << 4) | (autoinc << 2) | channel); in eHc_read_pcf8591()
/illumos-gate/usr/src/lib/libzonecfg/common/
H A Dlibzonecfg.c1494 zonecfg_access(const char *zonename, int amode) in zonecfg_access() argument
1500 if (access(path, amode) == 0) in zonecfg_access()
1506 if (access(path, amode) == 0) in zonecfg_access()