Home
last modified time | relevance | path

Searched refs:pwd (Results 1 – 5 of 5) sorted by relevance

/system/core/sh/
Dcd.c341 char *pwd; in getpwd() local
350 pwd = getenv("PWD"); in getpwd()
351 if (pwd && *pwd == '/' && stat(".", &stdot) != -1 && in getpwd()
352 stat(pwd, &stpwd) != -1 && in getpwd()
355 curdir = savestr(pwd); in getpwd()
369 char *pwd; in find_curdir() local
385 pwd = stalloc(i); in find_curdir()
386 if (getcwd(pwd, i) != NULL) { in find_curdir()
387 curdir = savestr(pwd); in find_curdir()
390 stunalloc(pwd); in find_curdir()
[all …]
DTOUR312 CD.C: This file defines the cd and pwd builtins. The pwd com-
313 mand runs /bin/pwd the first time it is invoked (unless the user
316 mand is run, so subsequent pwd commands run very fast. The main
/system/core/sh/funcs/
Ddirs43 SAVE=`pwd`
72 echo "`pwd` $DSTACK"
Dpushd43 SAVE=`pwd`
72 echo "`pwd` $DSTACK"
Dpopd43 SAVE=`pwd`
72 echo "`pwd` $DSTACK"