Home | History | Annotate | Download | only in pppd

Lines Matching defs:statbuf

294 	struct stat statbuf;
309 if (stat(cp, &statbuf) < 0) {
315 if (!S_ISCHR(statbuf.st_mode)) {
323 devstat = statbuf;
445 struct stat statbuf;
488 if (fstat(0, &statbuf) >= 0 && S_ISCHR(statbuf.st_mode)
489 && statbuf.st_rdev == devstat.st_rdev) {
503 if (log_to_fd >= 0 && fstat(log_to_fd, &statbuf) >= 0
504 && S_ISCHR(statbuf.st_mode) && statbuf.st_rdev == devstat.st_rdev)
518 struct stat statbuf;
595 if (fstat(ttyfd, &statbuf) < 0
596 || fchmod(ttyfd, statbuf.st_mode & ~(S_IWGRP | S_IWOTH)) < 0) {
599 tty_mode = statbuf.st_mode;