Searched refs:readmode (Results 1 – 2 of 2) sorted by relevance
774 int readmode, ecode; in tftp() local782 readmode = (tp->th_opcode == RRQ); in tftp()792 readmode ? "RRQ" : "WRQ", filename, mode); in tftp()862 (readmode ? O_RDONLY : (O_WRONLY|O_TRUNC)) | O_NONBLOCK); in tftp()866 if (((statb.st_mode & ((readmode) ? S_IROTH : S_IWOTH)) == 0) || in tftp()870 file = fdopen(fd, readmode ? "r" : "w"); in tftp()875 tsize_set = (readmode && (pf->f_convert == 0)); in tftp()
220 static int readmode();664 if (readmode(b) != NULL) {1935 readmode(ascmode) in readmode() function