Home
last modified time | relevance | path

Searched refs:readmode (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.tftpd.c775 int readmode, ecode; in tftp() local
783 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()
/illumos-gate/usr/src/cmd/find/
H A Dfind.c224 static int readmode(const char *);
665 if (readmode(b) != 0) { in compile()
1946 readmode(const char *ascmode) in readmode() function