Home
last modified time | relevance | path

Searched refs:curdir (Results 1 – 3 of 3) sorted by relevance

/busybox-1.35.0/runit/
Drunsvdir.c242 int curdir; in runsvdir_main() local
301 curdir = open(".", O_RDONLY|O_NDELAY); in runsvdir_main()
302 if (curdir == -1) in runsvdir_main()
304 close_on_exec_on(curdir); in runsvdir_main()
348 while (fchdir(curdir) == -1) { in runsvdir_main()
Dsv.c508 int curdir; in sv() local
528 curdir = open(".", O_RDONLY|O_NDELAY); in sv()
529 if (curdir == -1) in sv()
642 if (fchdir(curdir) == -1) in sv()
681 if (fchdir(curdir) == -1) in sv()
/busybox-1.35.0/shell/
Dash.c403 char *curdir; // = nullstr; /* current working directory */ member
488 #define curdir (G_misc.curdir ) macro
509 curdir = nullstr; \
2800 if (curdir == nullstr) in updatepwd()
2802 new = stack_putstr(curdir, new); in updatepwd()
2863 oldcur = dir = curdir; in setpwd()
2884 curdir = dir; in setpwd()
2981 out1fmt("%s\n", curdir); in cdcmd()
2989 const char *dir = curdir; in pwdcmd()