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

/ast/src/cmd/3d/
H A Dinit.c1298 setpwd(register const char* s) function
1325 message((-1, "setpwd: state.pwd=%s state.level=%d state.path.level=%d", state.pwd, state.level, state.path.level));
1354 r = setpwd(arg);
1637 if (!setpwd(cp) && ((i |= env_pwd) == env_must)) break;
1671 if (!(i & env_pwd) && *state.pwd != '/' && setpwd("/") && (!home || setpwd(home)))
1676 if (!getcwd(state.path.name, sizeof(state.path.name)) || setpwd(state.path.name))

Completed in 9 milliseconds