Home | History | Annotate | Download | only in login

Lines Matching refs:tbuf

149 	char tbuf[MAXPATHLEN + 2], tname[sizeof(_PATH_TTY) + 10];
168 tbuf[0] = '\0';
341 if (failures && strcmp(tbuf, username)) {
343 badlogin(tbuf);
346 (void)strlcpy(tbuf, username, sizeof(tbuf));
672 (void)snprintf(tbuf,
673 sizeof(tbuf), "%s/%s", _PATH_MAILDIR, pwd->pw_name);
674 if (stat(tbuf, &st) == 0 && st.st_size != 0)
688 tbuf[0] = '-';
689 (void)strlcpy(tbuf + 1, (p = strrchr(pwd->pw_shell, '/')) ?
690 p + 1 : pwd->pw_shell, sizeof(tbuf) - 1);
721 execlp(pwd->pw_shell, tbuf, NULL);
771 char tbuf[8192];
774 while ((nchars = read(fd, tbuf, sizeof(tbuf))) > 0)
775 (void)write(fileno(stdout), tbuf, nchars);