Lines Matching refs:tbuf
111 char tbuf[MAXPATHLEN + 2], tname[sizeof(_PATH_TTY) + 10];
127 tbuf[0] = '\0';
250 if (failures && strcmp(tbuf, username)) {
252 badlogin(tbuf);
633 (void)snprintf(tbuf,
634 sizeof(tbuf), "%s/%s", _PATH_MAILDIR, pwd->pw_name);
635 if (stat(tbuf, &st) == 0 && st.st_size != 0)
643 tbuf[0] = '-';
644 (void)strlcpy(tbuf + 1, (p = strrchr(pwd->pw_shell, '/')) ?
645 p + 1 : pwd->pw_shell, sizeof(tbuf) - 1);
653 execlp(pwd->pw_shell, tbuf, NULL);