Home | History | Annotate | Download | only in posix

Lines Matching refs:toys

40 #include "toys.h"
84 int pipe, afd = toys.optflags & FLAG_o;
90 if (toys.stacktop) {
92 // with !toys.stacktop
97 toys.optflags |= FLAG_i;
103 int perm = (toys.optflags & FLAG_o) ? O_CREAT|O_WRONLY|O_TRUNC : O_RDONLY;
110 if (toys.optflags & (FLAG_i|FLAG_t)) for (;;) {
113 int test = toys.optflags & FLAG_t, err = 0;
133 if (toys.optflags & (FLAG_t|FLAG_v)) puts(name);
150 if (!err && !geteuid() && !(toys.optflags & FLAG_no_preserve_owner))
176 if (!geteuid() && !(toys.optflags & FLAG_no_preserve_owner)) {
192 && !(toys.optflags & FLAG_no_preserve_owner))
282 if (TT.pass) toys.exitval |= xpclose(pid, pipe);