Searched defs:exe (Results 1 - 6 of 6) sorted by relevance

/ast/src/lib/libcs/
H A Dcslocal.c100 char exe[PATH_MAX + 1]; local
139 p = pathcat(p, ':', "../lib/cs/fdp", cmd, exe, PATH_MAX + 1);
140 if (!eaccess(exe, X_OK) && !stat(exe, &st)) break;
158 else if (initiate(state, path, exe) < 0)
160 messagef((state->id, NiL, -1, "local: %s: %s: cannot initiate service %s", path, tmp, exe));
163 messagef((state->id, NiL, -8, "local(%s) fd=%d server=%s stream=%s", path, fd, exe, tmp));
203 if (n || errno == EACCES || initiate(state, path, exe) < 0)
/ast/src/lib/libast/misc/
H A Dcmdarg.c102 char* exe; local
164 if (!(exe = argv[0]))
166 exe = *(argv = (char**)echo);
169 else if (streq(exe, echo[0]))
176 if (!pathpath(exe, NiL, PATH_REGULAR|PATH_EXECUTE, s, n + m))
180 (*cmd->errorf)(NiL, cmd, ERROR_SYSTEM|2, "%s: command not found", exe);
186 exe = s;
199 *p++ = exe;
/ast/src/lib/libast/path/
H A Dpathprobe.c119 char exe[PATH_MAX]; local
187 sfsprintf(exe, sizeof(exe), "lib/%s/%s", probe, probe);
193 dirs = pathcat(dir, ':', "..", exe, path, pathsize);
207 strcpy(exe, path);
311 *ap++ = exe;
320 if (procrun(exe, arg, 0))
/ast/src/lib/libast/comp/
H A Domitted.c53 * (1) .exe suffix inconsistencies
198 snprintf(buf, size, "%s.exe", path);
200 strcpy(s, ".exe");
326 snprintf(buf, sizeof(buf), "%s.exe", path);
702 static Exe_test_t* exe[16]; variable
712 if (fd >= 0 && fd < elementsof(exe) && exe[fd])
714 r = exe[fd]->test;
715 exe[fd]->test = 0;
716 if (r > 0 && !fstat(fd, &st) && st.st_ino == exe[f
[all...]
/ast/lib/package/
H A Dpackage.mk376 if "$(exe.$(style))" && "$(T)" == "bin/*([!./])"
377 T := $(T).exe
381 elif "$(exe.$(style))" && "$(S)" == "bin/*([!./])"
382 S := $(S).exe
385 if strip && "$(T:N=*.exe)"
389 if strip && "$(X:T=Y)" == "*/?(x-)(dll|exe)"
450 if "$(exe.$(style))"
451 T := $(T).exe
542 exe.cyg = .exe
[all...]
/ast/src/cmd/INIT/
H A Dpackage.mk376 if "$(exe.$(style))" && "$(T)" == "bin/*([!./])"
377 T := $(T).exe
381 elif "$(exe.$(style))" && "$(S)" == "bin/*([!./])"
382 S := $(S).exe
385 if strip && "$(T:N=*.exe)"
389 if strip && "$(X:T=Y)" == "*/?(x-)(dll|exe)"
450 if "$(exe.$(style))"
451 T := $(T).exe
542 exe.cyg = .exe
[all...]

Completed in 61 milliseconds