Home | History | Annotate | Download | only in tftpd

Lines Matching defs:stbuf

776 	struct stat	 stbuf;
808 if (stat(filename, &stbuf) < 0)
810 if (!S_ISREG(stbuf.st_mode))
813 if ((stbuf.st_mode & S_IROTH) == 0)
816 if ((stbuf.st_mode & S_IWOTH) == 0)
835 if (stat(pathname, &stbuf) == 0 &&
836 (stbuf.st_mode & S_IFMT) == S_IFREG) {
842 if (mode == RRQ && !(stbuf.st_mode & S_IROTH))
844 if (mode == WRQ && !(stbuf.st_mode & S_IWOTH))
855 stat_rc = stat(filename, &stbuf);
860 if (!S_ISREG(stbuf.st_mode))
862 if ((stbuf.st_mode & S_IROTH) == 0)
882 if ((stbuf.st_mode & S_IWOTH) == 0) {
893 tftp_tsize = (unsigned long) stbuf.st_size;