Lines Matching refs:toys
65 #include "toys.h"
103 return toys.optflags & FLAG_r;
108 return toys.optflags & FLAG_f;
123 if (CFG_UNSHARE && *toys.which->name=='u') {
128 if (test_r()) toys.optflags |= FLAG_U;
131 if (toys.optflags & (1<<i)) f |= flags[i];
137 toys.exitval = xrun(toys.optargs);
148 if (toys.optflags & (1<<i)) {
150 if (!(toys.optflags & FLAG_t)) error_exit("need -t or =filename");
162 if ((toys.optflags & FLAG_p) && !(toys.optflags & FLAG_F)) {
163 toys.exitval = xrun(toys.optargs);
169 xexec(toys.optargs);