Lines Matching refs:pwd
46 #include <pwd.h>
161 char* pwd; /* jobs dir path */
195 register struct passwd* pwd;
204 if (pwd = name ? getpwnam(name) : getpwuid(uid))
206 if (name) uid = pwd->pw_uid;
207 else name = pwd->pw_name;
208 home = pwd->pw_dir;
393 sfprintf(state->tmp, "%s/%s/%s", state->pwd, state->pwd, AT_QUEUE_FILE);
421 sfprintf(state->tmp, "%s/%s/%s", state->pwd, file, AT_ALLOW_FILE);
430 sfprintf(state->tmp, "%s/%s/%s", state->pwd, file, AT_DENY_FILE);
1093 sfprintf(state->tmp, "%s/%s", state->pwd, AT_LOG_FILE);
1376 if (!(state->pwd = strdup(s)))
1377 error(ERROR_SYSTEM|3, "out of space [pwd]");
1380 sfsprintf(s, state->bufsiz, "%s/%s", state->pwd, AT_EXEC_FILE);