Searched refs:getcwd (Results 1 - 19 of 19) sorted by relevance

/ast/src/lib/libast/comp/
H A Dgetwd.c24 * getwd() using getcwd()
34 if (getcwd(path, PATH_MAX)) return(path);
H A Dresolvepath.c63 else if (!getcwd(path, size - n))
/ast/src/lib/libast/path/
H A Dpathaccess.c64 dirs = getcwd(cwd, sizeof(cwd));
H A Dpathpath.c79 getcwd(buf, sizeof(buf));
/ast/src/lib/libcmd/
H A Dpathchk.c135 if(!(cpold = getcwd((char*)0, 0)) && errno == EINVAL && (cpold = newof(0, char, PATH_MAX, 0)) && !getcwd(cpold, PATH_MAX))
/ast/src/lib/libast/misc/
H A Dgetcwd.c34 NoN(getcwd)
47 getcwd(char* buf, size_t len)
153 getcwd(char* buf, size_t len)
H A Dfastfind.c521 else if (!p && !(p = getcwd(fp->decode.path, sizeof(fp->decode.path))))
H A Dfts.c769 if (fts->cd > 0 || getcwd(fts->home, fts->homesize))
/ast/src/lib/libtk/compat/
H A Dunistd.h49 extern char *getcwd _ANSI_ARGS_((char *buf, size_t size));
/ast/src/lib/libtksh/tcl/
H A DtclUnixFile.c20 * in order to avoid repeated calls to getcwd. The string is malloc-ed.
210 if (getcwd(buffer, MAXPATHLEN+1) == NULL) {
/ast/src/cmd/mailx/
H A Dvars.c525 if (!getcwd(state.path.pwd[0], sizeof(state.path.pwd[0])))
H A Dcmd3.c383 if (!getcwd(state.var.pwd, PATHSIZE))
/ast/src/cmd/nmake/
H A Dmain.c402 internal.pwd = (s = getcwd(buf, MAXNAME)) ? strdup(s) : strdup(".");
/ast/src/lib/libast/
H A DMakefile57 find.3 fmt.3 fmtls.3 fs3d.3 ftwalk.3 getcwd.3 hash.3 iblocks.3 \
67 getcwd.c fastfind.c \
/ast/src/cmd/INIT/
H A Dmamake.c258 #define getcwd(a,b) getwd(a) macro
663 if (!getcwd(buf, sizeof(buf) - 1))
/ast/src/cmd/tw/
H A Dtw.c972 else if (!p && !(p = getcwd(pwd, sizeof(pwd))))
/ast/src/cmd/ksh93/sh/
H A Dpath.c232 * Invokes getcwd() if flag==0 and if necessary
263 if(cp=getcwd(NIL(char*),0))
/ast/src/cmd/pax/
H A Dpax.c1891 getcwd(state.pwd, PATH_MAX);
/ast/src/cmd/3d/
H A Dinit.c1676 if (!getcwd(state.path.name, sizeof(state.path.name)) || setpwd(state.path.name))

Completed in 72 milliseconds