Home | History | Annotate | Download | only in other

Lines Matching refs:toys

35 #include "toys.h"
65 unsigned flags = toys.optflags;
154 TT.openflags = (toys.optflags & FLAG_r) ? O_RDONLY : O_RDWR;
173 if (toys.optflags & FLAG_f) {
174 if (toys.optc > 1) perror_exit("max 1 arg");
175 loopback_setup(NULL, *toys.optargs);
176 } else if (toys.optflags & (FLAG_a|FLAG_j)) {
177 if (toys.optc) error_exit("bad args");
181 char *file = (toys.optflags & (FLAG_d|FLAG_c)) ? NULL : toys.optargs[1];
183 if (!toys.optc || (file && toys.optc != 2))
185 for (s = toys.optargs; *s; s++) {