Lines Matching defs:expbuf
157 char expbuf[BUFSIZ];
191 snprintf(expbuf, sizeof(expbuf), "%s%s%s", s,
193 expstr(expbuf);
197 snprintf(expbuf, sizeof(expbuf), "%s%s", s, tail);
198 expstr(expbuf);
212 tilde = cp1 = expbuf;
218 if (pw == NULL || strcmp(pw->pw_name, expbuf+1) != 0) {
219 if ((pw = getpwnam(expbuf+1)) == NULL) {
220 strlcat(expbuf, ": unknown user name",
221 sizeof(expbuf));
222 yyerror(expbuf+1);
564 exptilde(char *expbuf, char *file)
570 strcpy(expbuf, file);
571 return(expbuf);
599 for (s1 = expbuf; (*s1++ = *s2++) != 0; )