Searched refs:readmode (Results 1 – 2 of 2) sorted by relevance
775 int readmode, ecode; in tftp() local783 readmode = (tp->th_opcode == RRQ); in tftp()793 readmode ? "RRQ" : "WRQ", filename, mode); in tftp()863 (readmode ? O_RDONLY : (O_WRONLY|O_TRUNC)) | O_NONBLOCK); in tftp()867 if (((statb.st_mode & ((readmode) ? S_IROTH : S_IWOTH)) == 0) || in tftp()871 file = fdopen(fd, readmode ? "r" : "w"); in tftp()876 tsize_set = (readmode && (pf->f_convert == 0)); in tftp()
224 static int readmode(const char *);665 if (readmode(b) != 0) { in compile()1946 readmode(const char *ascmode) in readmode() function